Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetExpr - can it only see certain aliases
Message
 
 
To
26/10/2010 18:20:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01487027
Message ID:
01487030
Views:
48
>>Hi everybody,
>>
>>In the application we use GetExpr to allow to specify custom filter. This is called from a button in a form. Unfortunately, all tables and cursors that are opened in the form's DE, are visible in GetExpr dialog.
>>
>>Is there any way to hide the extra tables and only show the tables we want?
>>
>>Thanks in advance.
>
>I don't think that such an option exists explicitly. I would suggest you open a private datasession (perhaps with an object based on the Session class), specifically open the desired tables, and then use GETEXPR within the context of this data session.

I was thinking about something like this - a bit tricky, though. May be not worth the trouble as nobody complained...

UPDATE. I decided to go ahead and implement the change. So far so good.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform