Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating Unique ID
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00586682
Message ID:
00586773
Views:
27
>Nadya,
>
>
>lcFileName = JustFName(DBF(< AliasName >))
>
>
>lcFileName will be the DBF name for the alias in question

Hi Jim,

My question is exactly opposite. I know my table name, but I don't know, under which alias it's open. Is there a way to retrieve this information?

My problem is, that I want to find out the full path of the owning Database in order to open the correct NextID table (there were some cases, when the wrong NextID table was opened, so I need to be 100% sure). In my table PK default value I have GetNextID("AllFunctions") [AllFunctions is the name of the table]. If I open it without alias, my code works. If I open it under different alias, my code fails. I need to know, how can I fix this code, but be certain, that correct NextID table is used.

Thanks in advance.
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