IncludeDocLink does not work

Hi there

I am pretty new at using Designer so please understand my ignorance.

The following code is attached to a button I have created within a leave application database.

I want to send an email with a link to the document to a fictitious recipient named “Joe Soap”, when I include the flag IncludeDocLink, the email is not sent, but when the flag is not included the document is sent.

I understand that the document needs to be saved before it can be sent, but presume that I have taken care of that in the filesave @command.

Here is the code:

@Command([FileSave]);

@MailSend(“Joe Soap”;“”;“”;“”;“”;"Click on the link to access the document… ";[IncludeDocLink]);

@Command([FileCloseWindow])

Any ideas would be appreciated.

Subject: IncludeDocLink does not work

I think you have some of the parameters switched. Try:@MailSend(“Joe Soap”;“”;“”;“”;“Click on the link to access the document… “;””;[IncludeDocLink]);

Subject: RE: IncludeDocLink does not work

Thanks Karen

Had some temporary brain failure there! duh