Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids with data from many tables
Message
De
08/09/1998 15:20:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grids with data from many tables
Divers
Thread ID:
00134192
Message ID:
00134192
Vues:
60
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
Fil
Voir

Click here to load this message in the networking platform