I have a sub-form in a form which is linked to a Code field in the main form. When i change value of Code field my sub-form should automatically get refreshed. Iam able to archive this if i go to previous record and come back to next record. Is there any way or any C/AL code to refresh / re-query the sub-form automatically?
Thanks in advance.