• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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