[firebase-br] multiple fields in a LookupField With INTERBASE & D7

Mário Reis secretariadogeral em acra.pt
Seg Fev 26 16:56:03 -03 2007


Hi,

Can anyone tell me what's the correct way to use multiple fields in a 
LookupField With  INTERBASE & D7

Ex. I have a IBDataSet1(LOCART table)  having fields "cp4", "cp3", 
"cp_name".

another IBDataSet2 (among others) is having fields "cp4";"cp3" and a Lookup 
field pack_name having properties

KeyFields := "CP4;CP3" ;
LookupDataset := LOCART
LookupKeyFields := "CP4;CP3"
LookupResultField := "CP_NAME"  // To be returned

When this lookup field is used in a grid, and I try to select a field from
that column it gives error : Field  'CP4;CP3' doesn't exist "not found".


Well this works perfect with D5+Dbase or Paradox tables but here with D7 and 
INTERBAse doesn't.

 How come? What can i do in order to resolve it...?

Thanks

Mário 







Mais detalhes sobre a lista de discussão lista