Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form - changing the controls source property
Message
From
19/10/1997 11:41:38
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054836
Message ID:
00055369
Views:
31
> * NextId.Prg
> LPARAMETERS pcTable
> IF NOT USED("SysKeys")
> SELECT 0
> USE SysKeys ALIAS SysKeys AGAIN
> ELSE
> SELECT SysKeys
> ENDIF
> SET ORDER TO TableName
> SEEK UPPER(pcTable)
> DO WHILE NOT FLOCK()
> ENDDO
> IF FOUND()
> liKey = NextID
> REPLACE NextId WITH NextID + 1
> ELSE
> APPEND BLANK
> REPLACE NextId WITH 1
> liKey = 0
> ENDIF
> UNLOCK

Is there any special consideration in order to use FLOCK() instead of RLOCK()?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform