Unfortunately, it is illegible because of incorrect indentation. Please post it again with correct indentation.Bob Matthews wrote:the following code appears further down..................
All things are lawful, but not all things are profitable.
Proper code style helps you find some types of bugs quickly. It also says to us "please put some effort into helping me, I'm at least willing to put the effort in to properly indent my code". Take pride in your code. I'm afraid to say your attempt at formatting was haphazard. If you don't want to format by hand then invest the time into learning an IDE, or, look at the rudimentary indenter written in Java in the link in my signature. This was run through an Eclipse formatter.Bob Matthews wrote:apologies.......................
From this excerpt it's unclear if printSQLException is ever called - is it? Does it print information somewhere where you will see it?
Bob Matthews wrote:Line 10 coding was in error - requires string concatination
Thanks
Bob M
Bob Matthews wrote:I have just spent some time with Netbeans and reformmated my whole program
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
Tim Moores wrote: If it appears so then there may have been an exception that was swallowed by some catch statement that ignores it (needless to say, not a good catch statement).
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.