Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Parsing
Message
De
05/04/2021 16:35:07
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
02/04/2021 12:41:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01679440
Message ID:
01679529
Vues:
46
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform