Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unwanted FileSave box

1 view
Skip to first unread message

Craig Air

unread,
May 6, 1997, 3:00:00 AM5/6/97
to

Can anyone help resolve this mystery???

I have an action button on a V4.11 form that sets a couple of field
values, mails a doclink to a specific user, and then performs a
FileSave and FileCloseWindow. Pretty basic really.

However, after the FileSave and FileCloseWindow commands execute
Notes puts up a FileSave confirmation box. If I redraft the entire
action in LotusScript the problem does not occur.

My question is (i) what is causing the FileSave message box to
appear, and (ii) how do I get rid of it without having to code all my
actions in script?

This problem is not isolated to just one action button or database.
The problem occurs in a number of databases.

I read in KnowledgeBase that a similar problem occurred in R3 and was
related to refreshes of Keyword fields. Could this same problem have
carried through to R4?

Thanks in advance for your help.

CRAIG

Damien Katz

unread,
May 6, 1997, 3:00:00 AM5/6/97
to

I assume when you say filesave box, you mean the box that asks you if you
want to save when you close a document.

An easy way to get around this is to save the document, then set the
saveoptions field to "0", then close. This will prevent the box from
showing on the close.

Example:
@Command([FileSave]);
Field SaveOptions = "0";
@Command([FileCloseWindow];

Note: This only works in R4 notes, in R3 notes the @commands do not execute
in the proper order.
--
***************************************************************************
Check out Unity Consulting's web site at www.unityconsult.com.

For a limited time you can download, free of charge, Liaison Pro, Unity
Consulting's full feature contact management software for Lotus Notes.

***************************************************************************

Craig Air <crai...@ozemail.com.au> wrote in article
<01bc5a09$a65c3ec0$6cb5...@craigair.ozemail.com.au>...

pw

unread,
May 7, 1997, 3:00:00 AM5/7/97
to

Check the queryclose property of your form. If there is no code that
changes field values, you might want to add "SaveOptions" field to the
form.

Good luck!

crashed

unread,
May 7, 1997, 3:00:00 AM5/7/97
to

possibly the refresh keywords...or, "Automatically refresh fields" selected
in the form, with a calculated field that's changin'...

Craig Air wrote

Craig Air

unread,
May 7, 1997, 3:00:00 AM5/7/97
to

Thanks Damien,

I will give it a go.

CRAIG

Damien Katz <damie...@unityconsult.com> wrote in article
<01bc5a6d$a01afe70$480952a6@damiennt>...

> Craig Air <crai...@ozemail.com.au> wrote in article
> <01bc5a09$a65c3ec0$6cb5...@craigair.ozemail.com.au>...
> > Can anyone help resolve this mystery???
> >

> > I have an action button on a V4.11 form that sets a couple of
field
> > values, mails a doclink to a specific user, and then performs a
> > FileSave and FileCloseWindow. Pretty basic really.
> >
> > However, after the FileSave and FileCloseWindow commands execute
> > Notes puts up a FileSave confirmation box. If I redraft the
entire
> > action in LotusScript the problem does not occur.
> >

Craig Air

unread,
May 7, 1997, 3:00:00 AM5/7/97
to

Thanks, I will give it a go.

CRAIG

pw <pwa...@erols.com> wrote in article
<01bc5a7f$e60895c0$2621...@john.sura.net>...


> Check the queryclose property of your form. If there is no code
that
> changes field values, you might want to add "SaveOptions" field to
the
> form.
>
> Good luck!
>

Craig Air

unread,
May 8, 1997, 3:00:00 AM5/8/97
to

Thanks to everyone who assisted with this problem. The SaveOptions
suggestion has done the trick.

Cheers.

CRAIG

Tom Faulkner

unread,
May 9, 1997, 3:00:00 AM5/9/97
to Craig Air

Craig Air wrote:
>
> Can anyone help resolve this mystery???
>
> I have an action button on a V4.11 form that sets a couple of field
> values, mails a doclink to a specific user, and then performs a
> FileSave and FileCloseWindow. Pretty basic really.
>
> However, after the FileSave and FileCloseWindow commands execute
> Notes puts up a FileSave confirmation box. If I redraft the entire
> action in LotusScript the problem does not occur.
>
> My question is (i) what is causing the FileSave message box to
> appear, and (ii) how do I get rid of it without having to code all my
> actions in script?
>
>
Add a text field with the reserved name of "saveoptions" to the form.
If you set the value of the field to "1" it will permit the pop-up box.
If you set the value to "0" you cannot save the document.
If you set the value to "" or " " (or probably anything other than "1"
or "2"), it will not ask but does permit the document to be saved with
@Command( [FileSave] )

--
-------------------------------------------------------------------
Tom Faulkner BBS Consultants, Inc.
mailto:tfau...@bbsci.com 919-403-9473
Lotus Notes Application Development http://www.bbsci.com
-------------------------------------------------------------------

Craig Air

unread,
May 11, 1997, 3:00:00 AM5/11/97
to

Thanks Tom.

Tom Faulkner <tfau...@ibm.net> wrote in article
<337395...@ibm.net>...

Mike Marbuger

unread,
Jun 25, 1997, 3:00:00 AM6/25/97
to tfau...@bbsci.com

My internet mail is delivered into Notes and is saved by Notes in
Courier 9 point. I need to make that Courier 12 point. This has turned
into a flippin’ CONQUEST now!!! Do you have any ideas that will work?

1 - I understand that the Courier 9 is hard-coded into Notes.
2 - I have been told that I cannot use LotusScript to change the font
size, and NotesItems.Methods seems to agree.
3 - I have been experimenting with an agent and @commands. All is
successful except for that frustrating “Do you wish to save this
document?” dialog box. I’ve tried lots of FIELD variations without
success. Below is my current script.


Start agent code:

@Command([EditDocument];1);
REM "0 means nosave, 1 means save. 1 always gets a dialog box";
FIELD SaveOptions:="1";

REM "Trying useless variations of a few other variables";
REM "Fussed with these based on NotesHelp search for SaveOptions";
FIELD MAILSaveOptions:="1";
FIELD Encrypt:="1";
FIELD Sign:="1";
FIELD DefaultMailSaveOptions:="1";
FIELD $KeepPrivate:="1";

@Command([EditGotoField];"Body");
@Command([EditSelectAll]) ;
REM "@Command([TextSetFontSize];’12’)";

REM "Tried with and without 0, 1, 2, and nothing";
@Command([FileSave];"2");
@Command([FileCloseWindow]);
REM "@Command([NavigateNextSelected])";

I have 5,000+ mail messages to “fix”. I cannot mess with that dialog
box if there are ANY other options. What would YOU do?

ScubaDawg

unread,
Jun 25, 1997, 3:00:00 AM6/25/97
to

Fonts for rich text fields are controlled in a font-offset table field
called $FONTS. I would suggest setting up a "Dummy" document that has the
font set correctly, then try copying the $FONT field from the dummy doc to
the others.

WARNING: I have not tested this, but in theory it should work. Proceed
with caution...

Rocky
--
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Rocky Oliver
Product Development Manager
XLConnect
rol...@xlcnotes.xlconnect.com
_____________________________________
"That is the beginning of knowledge -- the discovery of something we do not
understand."
***Leto Atreides II (Dune Messiah, Frank Herbert)
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Mike Marbuger <mmar...@panenergy.com> wrote in article
<33B0D6...@panenergy.com>...

Craig Air

unread,
Jun 25, 1997, 3:00:00 AM6/25/97
to

Try placing the SaveOptions field between the FileSave and
CloseWindow -- see below:

@Command([FileSave];"2");
FIELD SaveOPtions := "0";
@Command([FileCloseWindow]);

This will safely perform the initial save, but suppress the FileSave
disalog when doing a close.

Let me know how you go.

CRAIG

jfu...@moon.jic.com

unread,
Jun 28, 1997, 3:00:00 AM6/28/97
to

Modify the server document for the server which runs the SMTP MTA.
There is a field that allows you to choose the font and dot pitch.

Hope this helps.

- John

jfu...@thenetguru.com

Stephen Macnee

unread,
Jun 30, 1997, 3:00:00 AM6/30/97
to

I had a similiar problem with the filesave box coming up. I tried all
sorts of things, eventually I changed the file save and file close
window to Postedcommand([FileSave]) & @PostedCommand([FileCloseWindow])
and it worked without asking the questions.
If anyone can explain why, I would be greatful.

Stephen

Craig Air wrote:
>
> Try placing the SaveOptions field between the FileSave and
> CloseWindow -- see below:
>
> @Command([FileSave];"2");
> FIELD SaveOPtions := "0";
> @Command([FileCloseWindow]);
>
> This will safely perform the initial save, but suppress the FileSave
> disalog when doing a close.
>
> Let me know how you go.
>
> CRAIG
>
> Mike Marbuger <mmar...@panenergy.com> wrote in article
> <33B0D6...@panenergy.com>...

> > My internet mail is delivered into Notes and is saved by Notes in
> > Courier 9 point. I need to make that Courier 12 point. This has
> turned
> > into a flippin’ CONQUEST now!!! Do you have any ideas that will
> work?
> >
> > 1 - I understand that the Courier 9 is hard-coded into Notes.
> > 2 - I have been told that I cannot use LotusScript to change the
> font
> > size, and NotesItems.Methods seems to agree.
> > 3 - I have been experimenting with an agent and @commands. All is
> > successful except for that frustrating “Do you wish to save this
> > document?” dialog box. I’ve tried lots of FIELD variations without
> > success. Below is my current script.
> >
> >

Michael Hart

unread,
Jul 4, 1997, 3:00:00 AM7/4/97
to

Stephen Macnee <sma...@projectx.com.au> wrote:

>I had a similiar problem with the filesave box coming up. I tried all
>sorts of things, eventually I changed the file save and file close
>window to Postedcommand([FileSave]) & @PostedCommand([FileCloseWindow])
>and it worked without asking the questions.
>If anyone can explain why, I would be greatful.

Simple; follow the logic, or illogic, of what you've got below...


>Stephen
>
>Craig Air wrote:
>>
>> Try placing the SaveOptions field between the FileSave and
>> CloseWindow -- see below:
>>
>> @Command([FileSave];"2");

Here, you've saved the document.
>> FIELD SaveOPtions := "0";
Now you've changed the document, by forcing a field set.
>> @Command([FileCloseWindow]);
Now you're telling Notes to put the doc away. But, you've changed it,
so naturally it'll prompt you "do you want to save changes?"

Now, my turn. What's the "2" on the fileSave?


Michael Hart Data Solutions Corp.
CLP Notes Developer 954-735-7000 x103
CLP Notes Administrator
Certified Lotus Instructor doing Notes since R2.0

0 new messages