Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass 2 SQL commands
Message
 
À
12/03/2003 08:18:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00764600
Message ID:
00767937
Vues:
23
Sergey,
I found if I use the same type of 2 commands for one SQLEXEC command will return no problem, but if I use different command type, will return error "1463=No result set has been returned by the server." such as one for "Select..." and one for "Update..."
for example:
_success = sqlexec(_myconn,"select top 1 inv_no from autogen; update autogen set inv_no = inv_no + 1","autono")
error will be returned, but changes can still be updated to the SQL table.
is there any other method to avoid this error?
thanks in advance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform