Some times when we open the child form from another form than the datasource of the child form is sync with the previous form this is due to the dynalink between these two forms and all the data is shown on the child form.
you can use the below code on the init method of the child form after the super() to remove the dynalink between these two forms.
DataArea_DS.query().dataSourceTable(tableNum(DataArea)).clearDynalinks();
UserDataReaFilter_DS.query().dataSourceTable(tableNum(UserDataAreaFilter)).clearDynalinks();
The above two datasources are the datasources of the child form.
For info related to the dynalink you refer to the below link.
http://dynamicsuser.net/forums/p/40062/205388.aspx
Thanks
Muhammad Zahid
you can use the below code on the init method of the child form after the super() to remove the dynalink between these two forms.
DataArea_DS.query().dataSourceTable(tableNum(DataArea)).clearDynalinks();
UserDataReaFilter_DS.query().dataSourceTable(tableNum(UserDataAreaFilter)).clearDynalinks();
The above two datasources are the datasources of the child form.
For info related to the dynalink you refer to the below link.
http://dynamicsuser.net/forums/p/40062/205388.aspx
Thanks
Muhammad Zahid
No comments:
Post a Comment