Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Parsing
Message
From
05/04/2021 16:35:07
Mike Yearwood
Toronto, Ontario, Canada
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01679440
Message ID:
01679529
Views:
47
>I had not read the entire exchange after your post me, but I now see that you tried THROW. So it's possibly my answers aren't needed.

I now have a ??sqlexec prg which checks if the connection has failed, and attempts to reconnect, then waits for the connection to not be busy. The only thing that works consistently is for me to record and enable manual transactions over the connection, sqlexec the command, check for any error - which I can report via aerror and then attempt a sqlcommit. If that fails use aerror again and roll back, then reset the transactions.

I am guessing sql is handling the error and vfp 6 does not seem to like the throw or raiserror so much.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform