Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Way to create unique ID
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00743532
Message ID:
00743547
Views:
9
>
SELECT MAX(RecNum) FROM BldMstr INTO ARRAY laTemp
>lnNextRecNum = laTemp[1]
>SELECT MAX(RecNum) FROM DoNotProcess INTO ARRAY laTemp
>lnNextRecNum = MAX(laTemp[1],lnNextRecNum) + 1
>
If tables are open shared issue FLOCK() before SELECT just in case and UNLOCK after.

Unfortunately, this would not work, because I'm using Table buffering...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform