Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Go bottom
Message
De
15/10/2004 16:12:54
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
15/10/2004 15:36:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00950231
Message ID:
00951842
Vues:
16
Mohammed

You got answers that will work but you are not asking the right question.

Don't use MAX() to get the next number. It is better to generate next number.

Have a table with generated numbers newid.dbf

Table Number
MSTR 15
use newid
locate for table="MSTR"
RLOCK()
replace number with number + 1
m.lnnumber = number
unlock
The new number is in m.lnnumber (16).


>hi,
>thank you very much,
>
>i get the solution from mr.tore bleken and mr.fabio lunardon,
>
>anyway thanks all.
>best regards.
>m.qasem
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform