DetailDelay and Detail dataset
Posted: Tue 20 Apr 2021 16:33
Hello,
I am using DetaiDelay for all my tables (big database with lot of Master/Detail/SubDetail tables). After change of position of Master table I want check if data in Detail/Subdetail table was loaded already. Can you please add here any function, which can check it ?
If DetailDelay is more than 0, you are starting FDetailRefreshTimer in procedure TMemDataSet.MasterRecordChanged.
I would be like, if you can add here two things :
boolean DetailRefreshTimerRunning (if it is True, I will know that Detail dataset is not refreshed yet)
and/or
procedure ImmediatellyRefreshDetail (I can run it manually and be sure, that Detail dataset is refreshed)
Or can you advice, how I can check it in current version ?
Big thanks in advance !
I am using DetaiDelay for all my tables (big database with lot of Master/Detail/SubDetail tables). After change of position of Master table I want check if data in Detail/Subdetail table was loaded already. Can you please add here any function, which can check it ?
If DetailDelay is more than 0, you are starting FDetailRefreshTimer in procedure TMemDataSet.MasterRecordChanged.
I would be like, if you can add here two things :
boolean DetailRefreshTimerRunning (if it is True, I will know that Detail dataset is not refreshed yet)
and/or
procedure ImmediatellyRefreshDetail (I can run it manually and be sure, that Detail dataset is refreshed)
Or can you advice, how I can check it in current version ?
Big thanks in advance !