Problem with Master Detail Tables
Posted: Tue 26 Jun 2007 12:23
Delphi 7.
SDAC 3.70.0.24
I use a TMSTable as a master lets call it table A, a TMSTable as a detail lets call it table B, but I also have another TMSTable unlinked that points to the same DB table as table B. Now the unlinked TMSTable works fine, but the detail table shows the detail records as entries, but without any actual data in them. Ie the grid shows 2 rows of empty data. I use the CRDBGrid that came with the SDAC version stated above.
Please advise. I have used this technique in the past a number of times but now it seems to bug. Also it seems like some sort of "reset" to the engine must be made in order for it to work properly. I dont know if this makes sense but i would love to hear from you. Please dont ask me to replicate the problem, as it wont happen on an empty datamodule with just 3 components on it. If however it is something you have come across, please help
SDAC 3.70.0.24
I use a TMSTable as a master lets call it table A, a TMSTable as a detail lets call it table B, but I also have another TMSTable unlinked that points to the same DB table as table B. Now the unlinked TMSTable works fine, but the detail table shows the detail records as entries, but without any actual data in them. Ie the grid shows 2 rows of empty data. I use the CRDBGrid that came with the SDAC version stated above.
Please advise. I have used this technique in the past a number of times but now it seems to bug. Also it seems like some sort of "reset" to the engine must be made in order for it to work properly. I dont know if this makes sense but i would love to hear from you. Please dont ask me to replicate the problem, as it wont happen on an empty datamodule with just 3 components on it. If however it is something you have come across, please help