Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning Primary Keys
Message
 
À
28/01/1999 16:02:03
Steve Summers
Pima County Superior Court
Tucson, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00181534
Message ID:
00181546
Vues:
9
Steve,
If you use only SQL statements to access your tables in your key generator program then you ***won't*** need to use the USE command nor the USED() function. The SQL statement will open the tables as they are need it.


>I have implemented a primary key generation schema using the commonly used "NextID" Stored procedure. This procedure checks to see if the table with the primary keys is open. If ! USED(), the procedure opens this table via the (USE) command. This works fine when a vfp application is accessing the data natively through vfp. My problem is that the newest odbc driver for vfp does not support the (USE) command. Does anyone have a Nextid Procedure that works via odbc?
>
>Thanks.
>
>Steve Summers
>vsummers@email.msn.com
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform