Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with filters
Message
 
 
To
28/07/2000 19:29:08
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00398396
Message ID:
00398409
Views:
31
Use Private datasession instead.

>HI
>
>My problem is the following: When i set the filter for a table with 'hard code' for emaple: (id_prov = 1) all works fine, but when i try to set it with variables all goes very bad...i have 2 comboboxes on a form to set the filter of an specified table. I have to pass the value of the entire pointer to the object to the table filter property beacuse if i pass a short expresion, as 'THIS' or 'PARENT', when i change tabs (i'm using a pageframe on that form too) it loose the pointer loose it's object. So i have to pass somethng like this:
>
>"ThisForm.pgfServicios.Page1.cboEmpresas.Value"
>
>to the filter property of the table, BUT!!! if i open other form on the app the filter loose th pointer again!
>
>I could use a most 'HARD' pointer "frmServicios.pgfServicios.Page1.cboEmpresas.Value", but i'd like to know if there any other way to
>'transform' the pointer to the value of that combobox in any way that i don't have that problem.
>
>Other thing: is there any way to reference the tables opened from a particular form? No from an especific DataSession!
>
>Thanks a lot.
>
>*-- Emiliano --*
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform