Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In a local view, what data does VFP move across the netw
Message
From
15/02/2000 15:57:56
 
 
To
15/02/2000 13:28:36
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00330889
Message ID:
00332474
Views:
20
John,

>Thanks for the reply. Sounds like you have been in the trenches with FoxPro's indexes for a while. I do have indexes to make my views use Rushmore as you suggest. Each of my tables has an integer unique identifier that is also an index key. I've been trying out two different approaches to get the next unique identifer. One technique uses SELECT MAX(UID)... and the other uses a GO BOTTOM... Both approaches run slow across the network. Do you have a proven technique for quickly getting the next unique identifier?

You really should be getting the next unique identifier from another table designed for holding the next id's for each table.

Your current approach *will* eventually fail and cause duplicate id's if you are running in a multi-user situation.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform