Please help.."The linked document cannot be found in the view"

Hi

Ive just started getting the following error message when click on the doc link in my email…

“The linked document cannot be found in the view”.

I dont get why Ive started getting this?

On all of my other forms i have used the same save method and when I click on the doc link the database form opens up. However, when I copy the same save method onto my second form, the error message appears. I selected the default option on the form and I dont know how else to solve it.

The code i use in my send mail button is…

@SetField(“Status”; “Submitted”);

@Command([FileSave]); @MailSend(“name/IT/company”; “name/IT/company”; “”; “NEW IT Request Form: Submitted For Approval”; “This e-mail is for FYI purposes only.” + @NewLine + @NewLine + “Attached is a link with a copy of a request from the following person: " + @UserName;”";[IncludeDoclink]);

@Command([FileSave]);

@Command([FileCloseWindow])

I urgently need to fix this problem for a demo in a bit.

Any help would grately be apreciated.

Subject: Please help…“The linked document cannot be found in the view”

do you have a local replica of the DB on your workstation but you are sending the link from within a sevrer replica? The doclink will attempt to open the db replica that is most convenient to the client. It’s probably opening a replica that does not have the document you are trying to link to.