Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any way to get all aliases?
Message
From
05/03/2010 10:26:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01452808
Message ID:
01452815
Views:
63
>>>>I am trying to get all aliases in all sessions no matter what the sourceType is. asessions() and aused() doesn't return the information I need. Is there a way?
>>>>TIA
>>>>Cetin
>>>
>>>How come you figured that some aliases are missing? I would think that using these two functions should be enough?
>>
>>Naomi,
>>Believe me I am capable enough to figure that out (hint: exclusive). My question is not about figuring it out, but finding where. If those were enough and provided an answer I wouldn't even lose time to write and post this question. Thanks anyway.
>>Cetin
>
>No, my question is - how did you figure out that some aliases are missing? Or what is the missing piece of information?

OK here we go:

use MyTable exclusive

returns with access denied. There is a file handle active with no alias representation that could be caught by asession() and aused(). If I release the form in question I can use it (BTW the form's data session is default).

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform