Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any way to get all aliases?
Message
From
07/03/2010 14:49:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/03/2010 12:02:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
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:
01453033
Views:
66
>>>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
>>
>>Solved. Although there is not a visible alias, it was the CursorAdapter keeping handle alive.
>
>IOW, closing the table isn't really closing it until its CA is released? Didn't know that, but then it's been only a few months since I started playing with CAs occasionally.
>
>This is a very interesting finding. I think the CA is very poorly documented in help, and most of the knowledge about it comes from other sources, mostly our collective trial and terror...
>
>Thanks for wasting your nerves on behalf of the community :).

Yes, exactly and I am not really sure the table was closed or not (I didn't find a place where I closed it but didn't dig very much either once solved). I would think that it was closed somewhere. Unless you also explicitly/implicitly close the datasource (Ca.Datasource) it isn't really freed.
PS: Not only nerves but hair is wasted as well:)
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
Next
Reply
Map
View

Click here to load this message in the networking platform