General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Problems with filters
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only