Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a Function for MAX similar to Sum Amount To nAm
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00752749
Message ID:
00752783
Vues:
20
I see what you mean. In this case it would be fine since I am the only one accessing the table ,but I am waiting for the release of funds to upgrade so I can auto-increment the field.

>Best case, this is a slow way to calculate primary keys. Worst case, as Sergey said, it won't work in multi-user environment. Check out article on www.craigberntson.com on primary keys...since your table is free, you don't have default value, and you will have to call the function manually.
>
>>Sergey,
>>
>>Thank you. Calculate is exactly what I was looking for. I am
>>trying to determine the Next Unique ID and this allows me to bypass creating a cursor and placing the resulting cursor value into a variable. This is in VFP6 and the table is a free table.
>>
>>If you have any suggestions about a better way to get this value I would appreciate it.
>>
Send me an email when the shouting stops
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform