Subject | [IBO] Masterlinks with error, in version 4.7B16 |
---|---|
Author | Humberto Reis |
Post date | 2007-04-10T18:45:36Z |
In previous versions this functioned. 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(qrRomanei oCODIGO.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;
Thank´s
Humberto
__________________________________________________
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(qrRomanei oCODIGO.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;
Thank´s
Humberto
__________________________________________________
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]