Subject: Changing tabs causes document to be “dirty”
Beth,Hopefully this will help - it’s more of an explanation rather than a complete solution.
Essentially, I suspect that Lotus Notes ‘sees’ tabbed tables in the same way that it ‘sees’ sections.
If you have a form for example, with many sections, and open it in designer, and open a section, it sees that as a change (the section is open not closed). In a similar way, changes to a tabbed table are ‘seen’ the same way. i.e. clicking a tab = making a change, because it assumes you want to open that tab first…
Presuming that this document/table is in an applciation you are developing, you and always add a hidden SaveOptions field (set to “0”) to prevent the ‘Do You Want to Save?’ appearing.
If you do want it to appear sometimes but not others, you could programme this field to be set as appropriate (using @If statements etc).
Also from the Designer Help:-
Talking about @FileSave:-
When you follow this command with the FileCloseWindow @command, by default Notes displays a dialog box prompting users to save the document they are closing. The document will be saved even if a user clicks “No” in the dialog box. To prevent this dialog box from displaying, add a hidden field to the form named “SaveOptions” and set its value to zero (“0”). You do not need to add the SaveOptions field if you follow this command with the CloseWindow @command instead of FileCloseWindow.
So that would mean using:-
@Command([FileSave]);
@Command([CloseWindow])
(instead of say @Command([FileSave]) on its own or followed by @Command([FileCloseWindow])
Theres not much in the help about SaveOptions that I can see, but I beleive there is plenty in this forum and/or the Notes 5 one. Just try searching for SaveOptions…
Heres an interesting idea:-
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/124bc03e9516007285256f1200629759?OpenDocument&Highlight=0,SaveOptions
This is quite a good idea - because you could then set the saveoptions as you wish.
Sorry I can’t offer a complete technical solution - but it really is one of those areas where experimentation should produce the best results…It also depends quite a lot an the exact situation…