Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table for my codes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00037735
Message ID:
00041605
Views:
53
>>>>Most people I know recommend the stored last ID & increment by 1. You could create a 1 record table with many fields -- each field is
>>>>another code holder.
>>>
>>>Or you could create a 1 field table with many records, which is the method I use....
>>
>>Is it 6 or a 1/2 dozen? (eg)
>>
>>Tom
>
>I think there is a difference here, though. I have a class that allows you to register a new file with the stored table. (Actually, it's a two-field table.) That way, you can just insert another record. If you only have one record, you have to ALTER TABLE. Also, if two people are working on different tables, they don't have to wait for an RLOCK to be released.

Yeah, but the "1/2 dozen" is you don't have to do a search to find the right record! (s)

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Reply
Map
View

Click here to load this message in the networking platform