View Refreshing

Hi

I m making an notes(client Based Application)

in that i m refreshing one view with below code?

//on save action button

FIELD SaveFlag:=“XX”;

@Command([ToolsRefreshSelectedDocs]);

@Command([ViewRefreshFields]);

@Command([FileSave]);

@Command([ToolsRunMacro];“Update Availability”)

/// and agent code is that

@Command([OpenView];“FTName”;EmpName);

@Command([ToolsRefreshSelectedDocs]);

@Command([ViewRefreshFields]);

@Command([FileSave]);

@Command([FileCloseWindow]);

@All

but the problem is that it is not refreshing or updating any view

is there any modification in this code

Subject: View Refreshing

Hi,

Not sure what your app is trying to achieve but, why not set the view to update automatically refresh, ie. on Refresh, Refresh Dsiplay ?

Unless you’re asking the agent to refresh the documents in the view, there’s no need for you to use the method that you’re describing.

HTH,

Ranjan Returns