Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
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 --*
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement