Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetExpr - can it only see certain aliases
Message
 
 
À
26/10/2010 18:20:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01487027
Message ID:
01487030
Vues:
45
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform