Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicate unique id's
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01139147
Message ID:
01139248
Views:
8
I have a similar routine to the one Craig described in my VFP FAQ: "How do I generate a new ID?"

Or search the index at: http://www.feldstein.net/vfp_tips_tricks.asp


Note that when Craig and I wrote those articles, VFP did not have an AutoInc field. In VFP9 and VFP8 you can simply set one PK field as AutoInc and you are set. If you prefer to keep a counter (or in older VFP versions), these routines work very well.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform