Page 1 of 1

Two Things

Posted: 21.05.2010, 00:53
by sfxcc
What does datasource on zquery ? It is useful for some thing.


Does firebird only can go to 2gb of memory ???
Read this somewjere ???


:thanks:

Posted: 21.05.2010, 06:38
by exdatis
DataSource is access provider (Db object, TDBgrid...).
Db with 150 tbls and over 3 mil. rec. size-> about 200MB.
work well on PC 256MB RAM and AMD2800+.
Enough?
PC AMD3000+ and 512MB RAM, select(like with two arg), on 300000 rec. tbl.
gave res < 1sec. :up:

Posted: 21.05.2010, 08:56
by sfxcc
I know it is a link to the db controls , but why it is on a zquery ( zquery is not a control ) ??

Does it works like an Tdataprovider.

if So whein i have an assigned datasource :

query1.open; > should populate the zquery table.

and gives an error witch is no sql. command .. found ..


So it means is not a data provider !!!!! So why is on zquery ?? :gruebel:


:thanks: :prog2: :cheers:

Posted: 24.05.2010, 06:28
by exdatis
Provider from non visible to visible, quite simple! If you want just var(query_fileds.value), you do not need DataSource compon.

Re: Two Things

Posted: 26.05.2010, 23:49
by mdaems
sfxcc wrote:What does datasource on zquery ? It is useful for some thing.
As far as I know this datasource can be used for master-detail relationships. the details datasource shoud refer to the master datasource.

Once set there must be some other property defining what fields define the Master-Detail relationship.

Mark