Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

save/close without the yes/no prompt 1

Status
Not open for further replies.

TinaBanana

Programmer
May 21, 2002
2
0
0
CA
hi,
how do i close a form and save it without having to close the form and then have the prompt ask. save yes/no

thx
 
Try using either:

1. @Command([FileSave]); @Command([FileCloseWindow]) in the save button/action.

2. or use the SaveOptions field. Setting this to "1" will always save the document and setting to to "0" will never save the document. One hint though, in the PostOpen event you may want to delete the field to prevent saving when you do not want to. If you always want to save leave this field set to "1". Check the Domino Designer help for more info on this field. Search for SaveOptions.

Good Luck,

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top