Subject | [IBO] Masterlinks with error, in version 4.7.16? |
---|---|
Author | Humberto Reis |
Post date | 2007-03-26T15:53:43Z |
How to correct?
ds_Detalhe1.Dataset := ib_Detalhe1;
ip_Detalhe1.DataSource := ds_Detalhe1;
ib_Detalhe1.SQL.Text := 'select * from VW_ROMANEIOCTRC where COD_ROMANEIO = '+
QuotedStr(qrRomaneioCODIGO.Value)+' order by COD_CTRC';
ip_Detalhe1.Username := 'CTRC';
//
ds_Detalhe2.Dataset := ib_Detalhe2;
ip_Detalhe2.DataSource := ds_Detalhe2;
ib_Detalhe2.SQL.Text := 'select * from VW_CTRCNF ';
ib_Detalhe2.MasterSource := ds_Detalhe1;
ib_Detalhe2.MasterLinks.Clear;
ib_Detalhe2.MasterLinks.Add('COD_CTRC=ib_Detalhe1.COD_CTRC');
ib_Detalhe1.Open;
ib_Detalhe2.Open;
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
[Non-text portions of this message have been removed]
ds_Detalhe1.Dataset := ib_Detalhe1;
ip_Detalhe1.DataSource := ds_Detalhe1;
ib_Detalhe1.SQL.Text := 'select * from VW_ROMANEIOCTRC where COD_ROMANEIO = '+
QuotedStr(qrRomaneioCODIGO.Value)+' order by COD_CTRC';
ip_Detalhe1.Username := 'CTRC';
//
ds_Detalhe2.Dataset := ib_Detalhe2;
ip_Detalhe2.DataSource := ds_Detalhe2;
ib_Detalhe2.SQL.Text := 'select * from VW_CTRCNF ';
ib_Detalhe2.MasterSource := ds_Detalhe1;
ib_Detalhe2.MasterLinks.Clear;
ib_Detalhe2.MasterLinks.Add('COD_CTRC=ib_Detalhe1.COD_CTRC');
ib_Detalhe1.Open;
ib_Detalhe2.Open;
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
[Non-text portions of this message have been removed]