Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with filters
Message
From
28/07/2000 19:29:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Problems with filters
Miscellaneous
Thread ID:
00398396
Message ID:
00398396
Views:
55
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 --*
Next
Reply
Map
View

Click here to load this message in the networking platform