Refresh View by Code - Urgent

Dear Guys

I have a view embedded in a Lotus Form. I want to write a code to refresh the View , when form opens first time.

I know that refreshing can be maintained on Lotus View but I want to maintain the view using Lotus Script or Lotus Formulae.

Is there any code to refresh the view.

Subject: Refresh View by Code - Urgent

“I know that refreshing can be maintained on Lotus View but I want to maintain the view using Lotus Script or Lotus Formulae.”

Not sure what this statement is meant to tell us. You can refresh the back-end view calling NotesView.Refresh() (if you suspect, that it’s out of sync) and you can refresh the current window (like pressing [F9] using NotesUIWorkspace.ViewRefresh() in PostOpen.

Subject: RE: Refresh View by Code - Urgent

Yes please I want the Lotus Formula or Lotus Script as an alternative of F9 Key to refresh view.

That is I want to refresh the view (embedded within Lotus Form) every time user opens the form with out forcing the user to press F9 but through a code.