Subject Re: [IBO] BDE to IBO - TClientDataset
Author Gustavo Novaes
Thank you Jason.
I ask because I am still learning to work with IBOjects.
I will keep IboTable + TProvider + TClientDataset for now ..

Gustavo Novaes 




Em qua, 24 de jul de 2019 às 13:56, 'Jason Wharton' supportlist@... [IBObjects] <IBObjects@yahoogroups.com> escreveu:
 

Hi Gustavo,
 
I'm sorry but this is rather confusing to me.  IBO doesn't have a TClientDatast equivalent component. 
You should probably just continue to use the TClientDataset in your application as before with the IBO components in place of the BDE components.
 
Please let me know if you have more questions.
 
Thanks,
Jason Wharton


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Wednesday, July 17, 2019 6:07 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] BDE to IBO - TClientDataset

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