Save Problems

Hi all.

I’m currently encountering a save problem on 2 of my forms.

Everytime the form is filled out, i click the “Submit” button which has the following formula.

@SetField(“Status”; “To Be Prioritised”);

@Command([FileSave]);@MailSend(“name/IT/company”; “”; “”; “Request Technical Analysis”; “This e-mail is for FYI purposes only.” + @NewLine + @NewLine + “Attached is a link with a copy of the Technical Analysis form. Information regarding the technical details for the new project request have been saved. Please follow the link for more information: “;””;[IncludeDoclink]);

@Command([FileSave]);

@Command([FileCloseWindow])

However, i still get the save dialogue box up saying “do you want to save?”. I dont understand why this is happening as I am using the same formula on my other forms and everything appears to save.

I have tried putting a hidden field on my form called SaveOptions “0” and then adding the edit document bit into my code. This then sends the email but the ldoc link doesnt work?

Any help will greatly be appreciated.

Thanks

Subject: Save Problems

Hi,

try with @postedcommand.

hope this will helps you.

Regs

Gov

Subject: Save Problems

Hi,

try with @postedcommand.

hope this will helps you.

Regs

Gov

Subject: Save Problems

Hi

Set your SaveOptions field as editable with default value of “1”

Not sure why you’re saving the doc twice in your formula, after the mailsend just put

FIELD SaveOptions:=“0”;@command([FileCloseWindow])

That should do it

Subject: Save Problems

Try @Command([CloseWindow]) instead of @Command([FileCloseWindow]). Honestly, I’m not sure why it makes a difference here, but … well, who cares?

Subject: Save Problems

Hi,

try with @postedcommand.

hope this will helps you.

Regs

Gov

Subject: RE: Save Problems

Thanks all!

It works fine now.

Thanks again :o) x