Subject Re: [IBO] BDE to IBO - TClientDataset
Author Michel LE CLEZIO
Hello,

With TIBOQUERY, you can do the same things you could do with Tquery...
With Best Regards,
Mlcvista



Le mercredi 17 juillet 2019 à 14:07:33 UTC+2, Gustavo Novaes gutonovaes19@... [IBObjects] <IBObjects@yahoogroups.com> a écrit :


 

I don´t no. May be because my english wrong and i used Google Translator.  :( I´m a Brazlian.

Trying again. 
Portuguese: Tenho uma entrada de dados (CRUD), Master-Detail, estruturada da seguinte forma:
QuCustomers(Tquery)
QuOrders(tquery), filho de Customer (orders.datasource = qucustomers).
DpCustomers(Tdatasetprovider).dataset = quCustomers
CdCustomers (TclientDataset).provider = DpCustomers
CdOrdener(TclientDataset).datasetfield = CdCustomersQuOrders(Tdatasetfield).

Por essa entrada posso cadastrar CUSTOMERS e suas ORDERS .

Quero saber se, preciso manter essa estrutura, trocando TQuery por TIb_Query ou se há alguma forma de realizar o trabalho diretamente, sem precisar do TDataProvider e TClientDataset.
Exemplo:
QuCustomers(TIboQuery)
QuOrders(TIboQuery), filho de Customer (orders.datasource = qucustomers).
DpCustomers(Tdatasetprovider).dataset = quCustomers
CdCustomers (TclientDataset).provider = DpCustomers
CdOrdener(TclientDataset).datasetfield = CdCustomersQuOrders(Tdatasetfield).

English:

Portuguese: 
I Have a CRUD (form to data input -CRUD), Master-Detail, building like about:
QuCustomers(Tquery)
QuOrders(tquery), soon of Customer (orders.datasource = qucustomers).
DpCustomers(Tdatasetprovider).dataset = quCustomers
CdCustomers (TclientDataset).provider = DpCustomers
CdOrdener(TclientDataset).datasetfield = CdCustomersQuOrders(Tdatasetfield).

I want know if i need keep this structure, replacing TQuery by TIb_Query  or if exists another way to building same data input master/detail, without use TdatasetProvider and TClientDataset.
Example:
QuCustomers(TIboQuery)
QuOrders(TIboQuery), soon of Customer (orders.datasource = qucustomers).
DpCustomers(Tdatasetprovider).dataset = quCustomers
CdCustomers (TclientDataset).provider = DpCustomers
CdOrdener(TclientDataset).datasetfield = CdCustomersQuOrders(Tdatasetfield).

I´ll appreciate it your patiente.
Thank you.


Em ter, 16 de jul de 2019 às 23:24, 'Jason Wharton' jason@... [IBObjects] <IBObjects@yahoogroups.com> escreveu:
 

TIBOQuery should work just like TQuery did.
 
You might want to look into the BDE to IBO Conversion Guide on my home page.
 
Jason Wharton
 


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Tuesday, July 16, 2019 10:27 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] BDE to IBO - TClientDataset

 

Good Morning
In my current application, to perform a MASTER / DETAIL, I use:
TQUERY(MASTER) + TQUERY(detail) (like custiomer x orders),

I connect TqueryMaster to TdataProvider.

Connect TClientDataset to TdataProvider.

I connect another Tclientdataset to TDatasetfield (detail) to another ClientDataset.

Will I have to continue in this building, changing the Tquery for TIboQuery? Or is there another technique?
It had been doing this way as an alternative to using CACHEUPDATE

Em ter, 16 de jul de 2019 às 12:28, 'Jason Wharton' jason@... [IBObjects] <IBObjects@yahoogroups.com> escreveu:
 

There seems to be a problem with your email.  I can only see a portion of it.
 
Jason Wharton
 


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Tuesday, July 16, 2019 7:00 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] BDE to IBO - TClientDataset

 

Good Morning
In my current application, to perform a MASTER / DETAIL, I use:
TQUERY-MASTER + TQUERY + DETAIL
I connect TqueryMaster to TdataProvider.
Connect TClientDataset to TdataProvider.
I connect another Tclientdataset to TDatasetfield (detail) to another ClientDataset.

Will I have to continue in this building, changing the Tquery for TIboQuery? Or is there another technique?
It had been doing this way as an alternative to using CACHEUPDATE

Gustavo Novaes