Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Row updates from SQL based cursor
Message
 
 
À
06/08/2004 09:54:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00931295
Message ID:
00931474
Vues:
17
Derek,

You should check TABLEUPDATE() return value. If it's .F. than thrre're errors. To determine why the changes could not be committed, you can use the AERROR() function.

>
>I have returned a dataset from SQL, using the =SQLExec command. However, whenever I attempt to perform a tableupdate I've noticed that it only saves the changes to the data if I've selected the very first record from the SQL table. If I choose the 2nd/3rd/4th record etc SQL will not update the changes I've made.
>
>Any ideas?
>
>To update the cursor I'm using:
>
>=tableupdate(2, .T., 'MyTable1')
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform