Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Document is blank when remailed

Hello-
I have created a form that uses a button to mail a document to selected distributions. The form is used to issue bulletins.  The document is saved at the time that the doc is mailed.

If I edit/update the saved document and attempt to resend it, the recipients get a blank form.  I have enabled the "Store form in document," but that isn't correcting the problem.  

Any ideas on a fix?   Thanks.  

0
Aquilon7
Asked:
Aquilon7
  • 4
  • 3
1 Solution
 
HemanthaKumarCommented:
The problem should be with your mail script, could you post it here. I will take a look at it and let you know.

~Hemanth
0
 
Aquilon7Author Commented:
I'm not using mail script.  I'm using MailOptions and SaveOptions fields.  

The button that I'm using to reissue the form has the simple formula:

@PostedCommand([FileSave]);
@Command([FileCloseWindow])


The button that is used to issue the form initially is:
========================================================
@Command([ViewRefreshFields]);
@SetField("SaveOptions" ; 1);
@SetField("MailOptions" ; 1);
@PostedCommand([FileSave]);
@Command([FileCloseWindow])

========================================================
So when the document is saved again, shouldn't it resend the document?
0
 
HemanthaKumarCommented:
Try this

FIELD SaveOptions := "1";
FIELD MailOptions := "1";
@PostedCommand([FileSave]);
@Command([FileCloseWindow])


0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Aquilon7Author Commented:
Unfortunately, that didn't work.  The updated and resent document is still blank.  Also, when I try to go into the saved document from a view that I created, I get an error message:

Cannot Locate Form: Memo

When I click "OK", it takes me into the saved document.
0
 
HemanthaKumarCommented:
Few questions

What is the version of notes ?
Is it for web ?
Are the fields Mailoptions and Saveoptions display only ?
Is there any script in querysave (what does it do) ?
What is the name of the form ?

0
 
Aquilon7Author Commented:
Notes is version 5 for Client
The Mailoptions and Saveoptions fields are computed.

There is no script in Querysave.  This form is completely formula driven.  There is no script involved.

The name of the form is "Communication 2002"

There is a field entitled "Form" and the default value is "Memo."  

If I had your email, I could send you a copy of the database.
0
 
HemanthaKumarCommented:
This is my mail address hemanthakumark@bigfoot.com

Can you remove the field form and test it.

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now