Display data in multiple forms

pvarpvar Member Posts: 157
Hi,

I have a form that is based on a table and 3 sub forms(tabular) on it based on 3 other tables. Forms 1 & 2 work like a main form/sub form. So when I move between records in form 1, form 2 gets updated through the SubformLink relationship.

I need to do the same thing for forms 3 & 4 based on the data in form 2. Basically when I move between records in form 2, records in forms 3 & 4 need to get refreshed based on form 2 record. How do I achieve this? Thanks.

Comments

  • AAshokAAshok Member Posts: 53
    Hi,

    Please write the code on Ontimer() trigger of the forms to which the records you want to display in other forms and followed with currform.updatecontrols.

    Try this.
    Best of luck
  • AAshokAAshok Member Posts: 53
    Hi,

    Please write the code on Ontimer() trigger of the forms to which the records you want to display in other forms and followed with currform.updatecontrols.

    Try this.
    Best of luck
  • garakgarak Member Posts: 3,263
    Search the forum for update mainform from subform
    Do you make it right, it works too!
  • pvarpvar Member Posts: 157
    Using OnTimer() and single instance codeunit I was able achive the result. But I am curious if there is a way to achieve this without using the codeunit to transfer values between the forms??

    Thanks for your suggestions.
Sign In or Register to comment.