The iPhone and iPad do not support printing on FileMaker Go. There is no Preview Mode on FileMaker Go.
So its clear that we can’t go to the preview mode and view/print the report in preview mode
Can we view our reports in iPhone —Yes here you have to think out of box. We can show our report page in browse mode. As after sorting and summarizing the records the preview mode and browse mode looks similar with very little difference (one difference is header and title-header section).
You can add script in your custom menu which will run a report script.
There are 2 ways that you can do with reports
i)Save as PDF
ii)Send Mail with attached PDF
i) For Save As PDF option
We can save the report as pdf in iPhone it will give you 4 options as “Email”,”View”,”Save”,”Cancel”.
Note: If you will press “Save” it will save a pdf file in FMGO>Open File Browser>Files on Device. For mode detail check the link
ii) For Send Mail with attached pdf
Follow the below script steps and your receivers will get an email with a pdf attachment.
#Give your file name.
Set Variable [$fileName; Value:”Test” & “.pdf”]
#PDF will store in Path.
Set Variable [$pdfPath; Value:Get(DocumentsPath) & $fileName]
Save Record as PDF [Restore;No dialog; “$pdfPath”; Records being browsed]
#If you are from FMGO then no need to add “filewin:” before your attachment path
If [PatternCount (Get(ApplicationVersion); “Go”)]
Set Variable [$attachmentPath; Value:$pdfPath]
Set Variable [$attachmentPath; Value:”filewin” & $pdfPath]
#Gather your mail ids
Set Variable [$emailIds; Value:”firstname.lastname@example.org” & “; ” & “email@example.com”]
# Send Mail with an attachment to your receivers
Send Mail [Send via E-mail Client; To: $emailIds; Subject: “Hello”; “$attachmentPath”]