Refreshing a subform

JohnConJohnCon Member Posts: 55
Is there a way to automatically refresh a subform. On the main form I have the timer interval set to update the data in the subform, but you have to click on the subform before it will show the new data. I have tried currform.subform.update but get an error.

Comments

  • BBlueBBlue Member Posts: 90
    Also, I believe you can add
    CurrForm.UPDATE(FALSE);
    

    in the OnTimer trigger of the main form, after you do the processing of the related entries displayed through the subform...
    //Bogdan
  • krzychub83krzychub83 Member Posts: 120
    I understand Your problem not like Savatage dose.

    In my opinion I have very similar problem. When I make a deletion (in my CU of current Form record) the MainForm updates (showing a new REC), but the subform doesn't. Then when I make focus on Subform I receiving an error:

    "Purchase Header doesn't exists. Document Type = Purchase, No=XXX ... "

    So the problem is how can I update the subform? THX
Sign In or Register to comment.