Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving the active sql handle
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00941059
Message ID:
00941074
Views:
10
Hans,

The sqlconnect() returns connection handle or statement handle depending on VFP version. You should store it into the form property when you get it.
>
>the connection is made using the sqlconnect() statement,which uses a connection defined in my vfp database. I need it because I want to write a line in a error log table in my slq database each time a form generates an error. I want to put the error handling in my baseform so I need to retrieve the handle that I made with my form (that is based on the baseform) to write the error line.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform