Hello friends!
Here is the new version of the component and the demo. Install them as the previous version, just add the visual editor to your package too. In Object inspector edit the ParamLinkPairs property.
Best regards, Zsolt Balanyi
Multiple master datasets in master-detail relationships
Moderators: gto, cipto_kh, EgonHugeist, mdaems
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Hi Zsolt,
I (finally) checked your component and demo. At first sight it looks good and (relatively) easy to configure. I'm thinking about adding it to the next version (6.7) as an integral part of the library but I don't have an icon. Do you have an idea?
One thing that must change however in my opinion. The confusing old linking fields. Once you choose for the new component you should treat it like a multimaster query and not abuse it as a normal ZQuery. We don't know how many people tried it already (oh yes, I see: just me as there's only one download). I suppose it will always be a rarely used thing, but it doesn't cost us much anyway as it reuses most of ZQuery code.
Mark
I (finally) checked your component and demo. At first sight it looks good and (relatively) easy to configure. I'm thinking about adding it to the next version (6.7) as an integral part of the library but I don't have an icon. Do you have an idea?
One thing that must change however in my opinion. The confusing old linking fields. Once you choose for the new component you should treat it like a multimaster query and not abuse it as a normal ZQuery. We don't know how many people tried it already (oh yes, I see: just me as there's only one download). I suppose it will always be a rarely used thing, but it doesn't cost us much anyway as it reuses most of ZQuery code.
Mark
Hi friends!
I will remove the old link, and probably rename the property I added, and write a small explanation on how to use it.
For the icon I think someone could draw it, and it could be a TZQuery table with 3-4 arrows pointing to it. I can not draw it, I am a programmer, not an artist
Hopefully final version is to come in a few days.
Best regards, Zsolt Balanyi
I will remove the old link, and probably rename the property I added, and write a small explanation on how to use it.
For the icon I think someone could draw it, and it could be a TZQuery table with 3-4 arrows pointing to it. I can not draw it, I am a programmer, not an artist
Hopefully final version is to come in a few days.
Best regards, Zsolt Balanyi
Hi all!
I investigated the possibilities of making a query and a read-only query based on two different base classes, but that is not possible if I want to use the same property editor. If you want to include my contribution, you will need to include my code to ZAbstractRODataset, and then inherit the two classes TZMultiMasterQuery from TZQuery and TZMultiMasterReadOnlyQuery from TZReadOnlyQuery, and publish the ParamFieldLinks property in these classes.
Please answer me as soon as possible, because if this is not possible, I will need to develope my own branch.
Best regards, Zsolt Balanyi
I investigated the possibilities of making a query and a read-only query based on two different base classes, but that is not possible if I want to use the same property editor. If you want to include my contribution, you will need to include my code to ZAbstractRODataset, and then inherit the two classes TZMultiMasterQuery from TZQuery and TZMultiMasterReadOnlyQuery from TZReadOnlyQuery, and publish the ParamFieldLinks property in these classes.
Please answer me as soon as possible, because if this is not possible, I will need to develope my own branch.
Best regards, Zsolt Balanyi
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Why would you make both a readonly and an updateable component?
Apart from that, I would indeed have added your code to the ZAbstractRODataset and inherited that in the ZDataset unit. That unit is just intended to publish the right combination of properties for every component inheriting from the TZAbstract(RO)Dataset classes.
Mark
Apart from that, I would indeed have added your code to the ZAbstractRODataset and inherited that in the ZDataset unit. That unit is just intended to publish the right combination of properties for every component inheriting from the TZAbstract(RO)Dataset classes.
Mark
Hi Friends!
I finished the two components, and the link editor. If you like it, draw icons for them, and modify them as you like it, but don't forget to modify the editor too!!
Take a look at it, it is really simple.
Best regards, Zsolt Balanyi
P.S: As I got involved with property editors, if there is similar job, just let know.
I finished the two components, and the link editor. If you like it, draw icons for them, and modify them as you like it, but don't forget to modify the editor too!!
Take a look at it, it is really simple.
Best regards, Zsolt Balanyi
P.S: As I got involved with property editors, if there is similar job, just let know.
You do not have the required permissions to view the files attached to this post.