Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trap SQL Server Error
Message
 
 
To
31/01/2000 05:17:55
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00324902
Message ID:
00325360
Views:
20
Bui,

>Aerror() return has no error.

Here's some relevant code from one of my working classes:
lnRetVal = SQLExec( this.mnHandle, pcSQL )

if ( lnRetVal < 0 )
   * bad SQL command
   public gaError[1]
   aerror( gaError )
   MessageBox( "Bad SQL command, check gaError for more information" )
endif
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform