Refresh List form

lloydflloydf Member Posts: 73
Can someone please tell me how I can Refresh a List type form in code.
I have a button on the form which will be processing some data. After this is completed I wish to simply refresh the form.

Thanks

LLoyd

Comments

  • girish.joshigirish.joshi Member Posts: 407
    If the list is in a table box, then you can call the update function on the table box and you'll be fine. tablebbox1.update(false)

    If its a subform, its trickier. the code has to be in another trigger. usually its in the ontimer trigger, so it definitely fires. however, sometimes the refresh rate isn't quite what you might want it to be.
  • krikikriki Member, Moderator Posts: 9,118
    After processing the data, put a "CurrForm.UPDATE(FALSE);". This will refresh the form.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.