Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating Unique ID
Message
From
28/11/2001 11:55:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00586682
Message ID:
00587041
Views:
26
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
>>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
>
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform