MDO - Probelm Master-Detail in TDbText lazarus / 16-Databases ---------------------------------------------------------------------- laguna · 2011-01-21 16:31 I created a small program with two Data-Sets and two queries. In the master dataset, there are two camps TDBEdit. In detail there are a DataSet field TDBGrid, TDBEdit a field, a field TDBText. (Perfectly connected to the master dataset) Flowing the DataSet TDBText master data in the field are not updated. I checked the connection several times, and everything is in order perfattamente. Can you help me? Thanks ---------------------------------------------------------------------- xenblaise · 2011-01-21 17:39 This is a sample of Master-Detail Database application, try to see the codes; http://wiki.lazarus.freepascal.org/User:Rocarobin ---------------------------------------------------------------------- laguna · 2011-01-21 18:06 So, let me explain better. Parts used: MDOCustomDataSet, MDOQuery. The TDBText detail is in order, in the same way TDBEdit. Details related to the field TDBEdit flowing properly. TDBText the loading is assigned a value, but by pressing the button next, the value is not updated. The dbGrid related retail has uploaded the data correctly. If I link TBEdit in master control, that flowing properly. I hope I was clear, I have some difficulty with English. Thanks to all ---------------------------------------------------------------------- laguna · 2011-01-21 19:10 Using the database of example that you mentioned, I created a small project. This small project, it is operating correctly. So I wonder if the problem is not in the MDO-Mercury. Someone who uses mercury could do a test? Thanks to All ---------------------------------------------------------------------- laguna · 2011-01-26 12:40 After several tests, I prepared this little project. This project tests the components MDO The retail component is not correctly updating the dataset. Look at the behavior of the control TDBText Flowing to the main record TDBText is not updated, all other components are updated You can check out. and report any error to the group MDO Not include database EMPLOYEE.FDB Thanks ---------------------------------------------------------------------- ramon · 2011-03-04 18:20 Quoteanyone requesting another sample? [October 19, 2010] Could you include a sample of SQLQuery with Firebird? Thanks. ---------------------------------------------------------------------- laguna · 2011-03-04 18:25 The problem has been resolved. The error was caused to version 2.4.3 of FreePascal. I went to the stable version 2.4.2 and everything works properly. ---------------------------------------------------------------------- xenblaise · 2011-03-06 09:18 QuoteI went to the stable version 2.4.2 and everything works properly. Yep, stable version must use it. ---------------------------------------------------------------------- korba812 · 2011-03-07 13:40 The problem is in the TDataSet.EnableControls (bug 16428 and 18881) You can work around this problem commenting line 3625 and 3638 of MDOCustomDataSet.pas (EnableControls / DisableControls in RefreshParams method)