Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grids with data from many tables
I´m not totally sure about this, but it seems to work...
When you have a grid which needs data from many tables, using SET RELATION doesn´t work -- or at least I had problems with that.
A suggestion found here, in UT, is using form methods for accessing the needed data, and setting Column.ControlSource to ThisForm.MyMethod(). The methods are something like
SEEK some_key IN some_table
RETURN some_table.some_data
I have been trying skipping the form methods, and setting Column.ControlSource directly to a expression like
IIF(SEEK(some_key,some_table), some_table.some_data, "???")
and apparently it works fine, and is easier and faster than defining and calling methods.
I want to propose my "solution" (if it *is* a solution, and not a problem) to everybody... Any suggestions? Opinions? Bugs? Criticisms? Flames?
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