Page 1 of 1
TClientDataset Android question
Posted: Fri 06 Dec 2013 12:41
by zvasku
Hello,
I'm using TClientDataset-TDatasetProvider-TUniQuery with embeded sqlite database on Adroid 4.x. Not sure if it's problem with unidac, but when I'm using DECIMAL(p,s) fields SetRange on client dataset kills app on "Bus error".
Do you have any ideas please?
Thanks
Zdenek
Re: TClientDataset Android question
Posted: Fri 06 Dec 2013 19:18
by zvasku
Looks like problem in tclientdataset. Sent qc to Embarcadero.
Re: TClientDataset Android question
Posted: Mon 09 Dec 2013 09:29
by AlexP
Hello,
Instead of the TClientDataSet.SetRange standard method, you can use our TUniQuery.SetRange method.
Re: TClientDataset Android question
Posted: Wed 11 Dec 2013 13:13
by zvasku
We use TClientDataset-TDatasetProvider-TUniQuery.
Re: TClientDataset Android question
Posted: Thu 12 Dec 2013 10:28
by zvasku
I'm back here.
We have problems with tcleintDataset-TuniQuery-TUniCOnnection with sqlite database. Now I'm not able to compile and do not want to compilefrom source so I can determine the right behaviour. We have problem adding index to clientdataset.
When I create simple test case with empty db and
create table A(AA integer,BB decimal(10,0))
After open of table and AddIndex the app hangs on or exits.
Do you have any ideas?
Thanks
Zdenek
Re: TClientDataset Android question
Posted: Fri 13 Dec 2013 10:50
by AlexP
Hello,
We cannot reproduce the problem, please try to reproduce the problem on the standard DataAccess components.
Re: TClientDataset Android question
Posted: Fri 13 Dec 2013 12:22
by zvasku
Table must be empty. I wil try it with tuniquery, but I need TClientDataset.
Re: TClientDataset Android question
Posted: Mon 16 Dec 2013 09:00
by AlexP
Hello,
We still cannot reproduce the error. Please try closing UniQuery before setting the index.
Re: TClientDataset Android question
Posted: Mon 16 Dec 2013 16:59
by zvasku
UniQuery isclosed. It is unidirectional. I will prepare test case and will investigate deeply where is the problem.
Thanks
Zdenek