Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Autoincrementing a number
Message
 
À
09/05/2000 16:33:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00367779
Message ID:
00367828
Vues:
25
Right, right. I'm going to try Ed's suggestion of storing the next number in the parent table. I working on it now.

Thanks for the help.

>If it is possible for two users to mofify or add jobs you will have to do the same as a PK to insure that two users don't add the same number or lock out the project if someone is editing it...
>
>
>
>>>If this is single user
>>
>>It's not.
>>
>>>just find the largest number and add one to it...
>>
>>I had thought about doing that, I'm just nervous it might break. They will be added in order and I thinking I could use a p view, go bottom and grab the last number.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform