?
Solved

Cancelling an Edited Document

Posted on 2001-06-15
11
Medium Priority
?
320 Views
Last Modified: 2013-12-18
The Document is being edited, on press of "Cancel" button, the document should be closed without popping the message "Do you want to save changes to the Document", .
In R5. the command is FIELD SaveOptions := 0, but i want to know an equivalent command in R4.6, b'coz the above syntax is not supported.
0
Comment
Question by:chikkon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +3
11 Comments
 
LVL 4

Accepted Solution

by:
sloeber earned 200 total points
ID: 6194701
Why not ?
SaveOptions exist also in R4.6
Just make a hidden text field called SaveOptions with Default Value "0"
The  0 must be written between "".
or Field SaveOptions := "0"

That's all
Try it

Greets,
Sloeber

0
 

Author Comment

by:chikkon
ID: 6194760
The above answer has been tried but still the problem persists.

Greets,
Chikkon
0
 

Author Comment

by:chikkon
ID: 6194891
Mr.Sloeber, plz create a dummy form in 4.6 with 1 filed and on button called cancel. when the document is run, enter some text in the field and then press CAncel. The code in the Cancel button is as follows:
FIELD SaveOptions := 0;
@Command([FileCloseWindow])

But still i receive a Lotus message called "Do u want to save the Document".
I do not wish to see this message, after editing the Docuemnt & then pressing Cancel.
B'coz the purpose of Cancel is to abort the process.

Chikkon
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 4

Expert Comment

by:sloeber
ID: 6195353
you must wright "0" and not 0
and don't do a command but do a postcommand
this is the solution

FIELD SaveOptions := "0";
@PostedCommand([FileCloseWindow])


Greets,
Sloeber
0
 
LVL 5

Expert Comment

by:snocross
ID: 6196478
Listening...

You could also use:

FIELD SaveOptions := SaveOptions;
@SetField("SaveOptions";"0");
@PostedCommand([FileCloseWindow])


0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 6201010
If you use the close-method in LotusScript this will also prevent the "Do you want to save the document" message.
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 6349173
hey guys are you around ?
0
 
LVL 5

Expert Comment

by:snocross
ID: 6349763
What's up?
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 6379330
Just got back from a short holliday. So what's up ?
Have you tried the doc.close method ?
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 10476213
chikkon,
No comment has been added lately (929 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to sloeber http:#6194701
Please leave any comments here within 4 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

Zvonko
EE Cleanup Volunteer
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question