Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with grids and multiple relationships
Message
 
À
24/04/2001 12:32:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00499076
Message ID:
00499216
Vues:
19
>Ooops. A little correction. There orders would cause headaches. Instead create a custom or form property that would return to_address :
>
>
*Form.GetLookup
>lparameters tcTable, tcKeyField, tcValue, tcLookup
>lparameters tcID
>select &tcLookup ;
> from (tcTable) ;
> where &tcKeyField = tcValue ;
> into array arrResult
>return iif(type('arrResult[1,1]')='C',arrResult[1,1],'')
>
>* Controlsource
>thisform.GetLookup('orders','order_id','order_id','to_address')
>
Cetin

Hi Cetin,

I implemented something similar to the above and it seems to be working. Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform