*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