Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning Primary Keys
Message
 
To
28/01/1999 16:02:03
Steve Summers
Pima County Superior Court
Tucson, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00181534
Message ID:
00181546
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform