![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello all!
I would like to have a little tip on how to test for "potential" errors running SQL commands. eg. How to test if the CONN.OPEN("Data Base = " & AppPath & "\" & myDB) did not generated an error? (HD failure, disk full....) Many thanks Mimmo |
|
|||
|
Hello Erel
many thanks for your quick reply! My question was intended to understand when/if the SQL commands/funtions return any value (numerical/boolean or whatever else) to the calling routine as in: Do While Reader.ReadNextRow = TRUE ... Loop In this case the ReadNextRow return a bool. Thanks Mimmo |
|
||||
|
You should check the SQL manual to find which methods return a value: http://www.basic4ppc.com/help/sql/index.html
Generally speaking, methods throw errors and don't return a succeed / failure value. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| networking errors | bGoody_iPAC_rx1950PPC | Questions & Help Needed | 13 | 02-04-2008 03:44 PM |
| Errors in code blocks? | agraham | Questions & Help Needed | 1 | 11-23-2007 07:05 AM |
| Table errors | Big JR | Questions & Help Needed | 8 | 06-09-2007 10:12 AM |
| ImageLib & Getpixel - bugs or user errors? | LineCutter | Questions & Help Needed | 4 | 05-24-2007 06:05 PM |