Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique number
Message
From
05/07/1998 12:02:42
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
02/07/1998 16:40:59
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00113894
Message ID:
00114335
Views:
14
>>Does anyone have a way of creating a truly, truly unique number to use as an identification for a record in Foxpro 2.6a? We have several people writing to a dbf and when they create a record in the dbf it puts a unique (or so we thought using sys(3)) number in a field. We are running these programs on P6-300's. We have also tried val(sys(3))+recno number of file+1. This also has not proved to be unique. Can anyone help us???
>
>Try SYS(2015)...although it is a character.
Does it HAVE to be numeric?
P.S. By definition sys(2015) is always going to be unique, so putting it in a loop is (should be) unneccesary. If anyone has received a duplicate from sys(2015) I would like to know.
//:^)
L.A.Long
ProgRes
lalong1@charter.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform