Hello!
I'm using a master/detail relationship with zeos and midas.
Everything is set ok so the detail query become a datasetfield in the master clientdataset.
When I open the master clientdataset, the detail clientdataset is filled with the correct number of rows and fields, but the values of this fields are all blank (not null, only blank).
If I do the same operation with the DataSetProvider.Options.poFetchDetailsOnDemand = true, everything works fine.
But, I have one case that I can't use this option (poFetchDetailsOnDemand), it must be false.
Debugging the zeos source I can see that the values are coming without problem from the database. But I don't know the zeos source enough to keep debugging. The SetInt (and the others Setxxx) are getting the correct values.
Where should I look?
TZReadOnlyQuery + TDataSetProvider = Blank fields on details
Moderators: gto, cipto_kh, EgonHugeist
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
I would think it's somewhere in the ZAbstractRODataset , ZDataset or ZDatasetUtils units. Sounds almost if the fields are set and reinitialized again by using SetNull. Unfortunately I haven't Midas components installed. Can you provide a very simple testcase (with data creation SQL) and post it on the bug tracker? (zeosbugs.firmos.at) If I manage to get Midas working I'll give it a try.
Mark
Mark