Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with grids and multiple relationships
Message
 
To
24/04/2001 12:32:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00499076
Message ID:
00499216
Views:
20
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform