dionel1969 Posted August 4, 2011 Posted August 4, 2011 Is there any problem (logged) about refreshing of Master/Detail grids. It est, I have to tables with a M/D relationship and when I navigate through master records, the detail dbgrid does not refresh its records. The curious here that I have two forms more with the same relationship between their tables and it works good. I review in design time the relationship between first tables and it works. i. e. in design time it is working and the vcl detail grid refresh records good. Quote
Administrators Farshad Mohajeri Posted August 4, 2011 Administrators Posted August 4, 2011 There is a logged issue when Grid is on an invisible TabSheet. Can you easily reproduce this? What are the steps? Quote
dionel1969 Posted August 4, 2011 Author Posted August 4, 2011 There is a logged issue when Grid is on an invisible TabSheet. Can you easily reproduce this? What are the steps? No, there is not tabsheet. I have a TStandardMasterDetailGridsForm that inherit it behavior from TUniForm and from the first I have 3 forms inheriting. The first two forms works good, the last one does not work. I watch 3 times relations in the MainModule between tables and it works well in the IDE, I mean grids. Quote
Administrators Farshad Mohajeri Posted August 4, 2011 Administrators Posted August 4, 2011 Can you prepare a test case? Quote
dionel1969 Posted August 5, 2011 Author Posted August 5, 2011 Can you prepare a test case? Let me see. The problem is, again I repeat, that two of three forms works. But I will prepare it. Quote
dionel1969 Posted August 5, 2011 Author Posted August 5, 2011 It is a very strange behavior. The problem appear yesterday in my office. Then now I test it here in my house, with the same database, but not with the same data. I change some values of details to see refresing "iso factus" and then it works for three first master row but then detail grid mantain the same data after third row when I navigate through record in master dbgrid. Quote
Administrators Farshad Mohajeri Posted August 5, 2011 Administrators Posted August 5, 2011 Does it happen only when number of rows in detail does not change? I mean when you navigate from one master row to another detail data changes but number of rows remains the same. Quote
dionel1969 Posted August 5, 2011 Author Posted August 5, 2011 Does it happen only when number of rows in detail does not change? I mean when you navigate from one master row to another detail data changes but number of rows remains the same. More or less yes, but in this case from second to the last master record the number of rows is the same, but in the first two or three it change, but not later. Quote
dionel1969 Posted August 5, 2011 Author Posted August 5, 2011 I will change the number of detail records in each case to see the behavior. Quote
Administrators Farshad Mohajeri Posted August 5, 2011 Administrators Posted August 5, 2011 OK. I will test this case. Logged #1114 Quote
dionel1969 Posted August 5, 2011 Author Posted August 5, 2011 OK. I will test this case. Logged #1114 I change the number of rows of details and then it is working as expecting (First -> 2 rows, Second -> 3 rows, and so on...). So, you are right it seems to be depending on the number of rows. Quote
Administrators Farshad Mohajeri Posted August 5, 2011 Administrators Posted August 5, 2011 I change the number of rows of details and then it is working as expecting (First -> 2 rows, Second -> 3 rows, and so on...). So, you are right it seems to be depending on the number of rows. Seems to be related to issue #0000882 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.