Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter with MySql
Message
De
27/06/2005 16:53:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
CursorAdapter with MySql
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Novell 5.x
Database:
MySQL
Divers
Thread ID:
01026870
Message ID:
01026870
Vues:
65
I create an ODBC connection with a MySql Data Base, and use the class CursorAdapter too.
But i have a problem with an field ID(autoinc). When i execute the TableUpdate i have to use the CursorRefresh to get the new ID genereted. But with the CursorRefresh i lost the reference to the new record, it´s seems the comand moves the pointer to the begin of the file. How can i proced in this case, cause i need to get the new ID for the new record. There is another way to get the new ID without using CursorRefresh?

Thanks

Ricardo Possas
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform