Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Client application that uses datasets without the EWB server?
Mon, Aug 19 2024 2:37 PMPermanent Link

George

I need to create an application that uses datasets that can load data from a server other than the EWB server.

Data is received in JSON format that can be loaded in a TDataset component. The difficult part is when a user makes changes through the controls linked to these datasets. After editing an error is shown, that the default database does not exists.

I would very much appreciate your help on the above.

Thanks

George
Mon, Aug 19 2024 5:17 PMPermanent Link

erickengelke

Avatar

George wrote:
>I need to create an application that uses datasets that can load data from a server other than the EWB server.

I do that all the time.

> Data is received in JSON format that can be loaded in a TDataset component. The difficult part is when a user makes changes through the controls linked to these datasets. After editing an error is shown, that the default database does not exists.

In your startup code just set:

database.autotransacations := False;

That will turn off the default behaviour to try to update the EWB server.


Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Wed, Aug 21 2024 1:42 PMPermanent Link

George

Great, thank you!
Image