Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the Error from SQL Server
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00455661
Message ID:
00455668
Views:
32
>I'm using VFP6 sp3 with SQL server for the database
>Is it possible that when I call a sqlexec() command and it return -1, that I can request the sqlerror that occurred?
>
>Thanks
>Kirk

Yes, take a look at the AERROR() function in VFP. Also, a good source of information on debugging VFP/SQL Server applications is the book:

Client/Server Applications with Visual FoxPro and SQL Server from Hentzenwerke.
Chris McCandless
Red Sky Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform