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

Click here to load this message in the networking platform