Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating Unique ID
Message
 
 
À
28/11/2001 11:55:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00586682
Message ID:
00587044
Vues:
22
>Nadya,
>
>Cursorgetprop() accepts a work area number as a parameter (instead of alias). Try:
>
>
>lcDBC=cursorgetprop('database',select(m.tcAlias)) && Return the name of owning database
>
Would not work, if tcAlias is not used. Thanks.
>
>
>>>What difference does it matter what alias you open it under? The only thing that matters is the default value function call, and the only thing that matters is that you use a unique value:
>>>
>>>getNextID("thisMustBeDifferentForEveryTable--butDoesNotNecessarilyHaveToBeTableNameOrAlias")
>>>
>>>I don't see anywhere where you try to select the alias in your getNextID() function, so it should not matter...
>>>
>>
>>Here is the call:
>>
>>lcDBC=cursorgetprop('database',m.tcAlias) && Return the name of owning database
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform