Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter with MySql
Message
De
01/07/2005 09:45:29
 
 
À
27/06/2005 16:53:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Novell 5.x
Database:
MySQL
Divers
Thread ID:
01026870
Message ID:
01028125
Vues:
18
Hi Ricardo !

You have create an ADO connection to keep the reference of the record!



>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
Atenciosamente,
Welington Lourenço Melo de Paula BH / MG
welingtonl@yahoo.com.br
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform