Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Way to create unique ID
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00743532
Message ID:
00743547
Vues:
13
>
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform