Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form - changing the controls source property
Message
De
19/10/1997 11:41:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00054836
Message ID:
00055369
Vues:
36
> * 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform