Two Things

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
sfxcc
Senior Boarder
Senior Boarder
Posts: 95
Joined: 13.05.2010, 18:48

Two Things

Post 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:
where's the code ..
exdatis
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 18.05.2010, 06:27

Post 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:
sfxcc
Senior Boarder
Senior Boarder
Posts: 95
Joined: 13.05.2010, 18:48

Post 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:
where's the code ..
exdatis
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: 18.05.2010, 06:27

Post by exdatis »

Provider from non visible to visible, quite simple! If you want just var(query_fileds.value), you do not need DataSource compon.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Re: Two Things

Post 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
Image
Post Reply