Page 1 of 1

ZQuery DbGrid optical problem

Posted: 06.11.2007, 23:03
by haentschman
hi all... :D

i am the first time here and i have the first problem wit ZeosDBO 6.6.2

... my English is not perfect... i hope you understand :oops:

i have on the Form:

ZQuery
TDatasource
TDbGrid or JVDbGrid or JVgDbGrid --> the Problem is the same...
2 TDbEdit Fields

after the SELECT i have in the Grid the Data I need --- this works.

the DbGrid Options: RowSelect-True

the Problem:

- on start the first Row is selected - normal
- srolling trough the Data - no :shock:
---> but the Data in the Edit Fields were changed :gruebel:

- if i klick on a cell only this one cell is marked in blue
---> the selected Row is always the same :shock:


- by a test I have changed the Query to ZTable and it works normaly....

I have no answer...can you help :?:

Posted: 07.11.2007, 08:52
by mdaems
Kein Problem :)

Please send a small sample project showing the problem. I hate guessing your setup details.

If you think it's a bug : file it here : http://zeosbugs.firmos.at/
Your report should include :
- what zeos, delphi, database versions you use
- the files necessary to compile the project (no dcu, exe, ...)
- a sql script to create and fill the sample tables (no data files, please, they are database dependent)

Mark

Posted: 07.11.2007, 20:58
by haentschman
hi all... :D

sorry for the missing Informations.... :oops: it was early in the morning :roll:

at first:

Delphi 5 Professional
Firebird 2.0
Zeos 6.6.2 Beta

for the sample Project i need a little more time... :roll:

... i hope it´s not a Bug...

Thanks for the fast answer... :roll:

Posted: 07.11.2007, 21:54
by mdaems
Take your time... Better a good example than thousands of words.

Mark

Posted: 07.11.2007, 22:19
by haentschman
hi all... :D


i found the Error.... :P

for your Information:

- in my project i placed the ZConnection in a DataModul...

- in the sample Project i placed the ZConnection on the Main Form... and it works with the ZQuery .... :shock:


.... ZConnection not in a Data modul.... :evil:

Thanks for all.... bye

Posted: 08.11.2007, 11:27
by mdaems
I'm not used to using data modules. So no idea... but this looks weird.
Is it logical not to put the ZConnection in a Data Module? If not : it's a bug...
Can you please help us by reporting it in a reproducible way?

I would like to ask you to continue your sample project like this:
- Add a datamodule. (If there's none yet)
- Duplicate all components
- Let the duplicate components use the same query and other settings, only start from a connection on the datamodule.
- This way you should have the good and the bad behaviour next to each other.
- Zip everything together and log a bug (see above).

Mark

Posted: 10.11.2007, 09:08
by haentschman
...hi all :P


ok ... i write the Sample Project .

i hope in the next few days.... 8)

bye...

Posted: 10.11.2007, 15:07
by haentschman
... hi all :D

... i was to fast with my answer.... :oops:

in the Sample Project i had not these Problems... :gruebel:

... the width of the Grid was the Ploblem... :shock:

when the with of the grid exacly end with the end of the last colum then i have these optical problem...

i write a sample project to show this... bye

Posted: 10.11.2007, 15:13
by jozagulikoza
This is not error. Its feature of dbgrid

Joza