Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proceedure Code for Primary Key
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00168028
Message ID:
00168154
Views:
26
Garrett,

>Now that I think about it, it might be better to set lnKeyNum to .NULL., rather than 0: it's a better out-of-bounds indicator.

I prefer to make the routine smart enough to insert a record with 0 as the starting value if it doesn't find the requested table/key sequence name. This way I don't have to remember to run some other program to create those rows. I return .null. if I can't get the rlock()
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform