Query

Hi All,

Can anyone tell me what will happen when this code is executed:

@PostedCommand([FileSave]);

@PostedCommand([FileCloseWindow]);

@PostedCommand([ViewRefreshFields]);

@postedcommand([ViewRefreshFields]) will be excuted for the fields in the document or will it execute on the view.

Please clarify.

Regards,

Priti.

Subject: Query

Since the document will be closed, the viewrefreshfields will refresh the view.

Subject: RE: Query

but when i execute this code, even after filesave and file close, it prompts for ‘saving the document’. And if i click yes, it saves as a replication or save conflict document.

How about if i use @command([viewrefreshfields]) instead of @postedcommand. what will that do?

Subject: Lee Helm would love this subject line

You don’t say whether you want it to refresh the view or not, but I assume that you do. Try

@postedcommand([filesave]);

@command([closewindow]);

@updateformulacontext;

@command([viewrefreshfields])

or

@if(@command([filesave]); @command([closewindow]); “”);

@updateformulacontext;

@command([viewrefreshfields])

and see if one of those works.

Subject: lol !!