Hi

I'm struggling with a DR Reports export problem. (DF19.1, DR8.0)

I have a report (an invoice) which works OK if sent to a printer, or if previewed, and if previewed and then exported to PDF, but attempting to do the export from the program, creating a PDF which is then attached to an e-mail, it fails. It produces an esentially empty PDF file (it is actually ~2Kb in size - see below; if exported from the preview - which is OK - it is ~49Kb).

I've been debugging relentlessly, but can't seem to find what is going wrong. It is as though it is missing the actual report production step, but I can't find out why. Where does that happen? Sometimes, when debugging, the studio encounters an error (Unknown(0xc0000374) at address 0x76F6E85B... ) and goes into limited break mode - again I don't know why.

Anybody have any ideas?

Blank PDF when opened in Notepad++:
Code:
%PDF-1.6
%âãÏÓ
1 0 obj
<</Type/Page/Parent 2 0 R/MediaBox[0 0 595 841]/Resources<<>>>>
endobj
2 0 obj
<</Type/Pages/Count 1/Kids[1 0 R]>>
endobj
3 0 obj
<</Type/Catalog/Pages 2 0 R/Metadata 5 0 R>>
endobj
4 0 obj
<</Producer(DynaPDF 4.0.34.96)/ReportVersion(0)/CreationDate(D:20210507102513+01'00')/ModDate(D:20210507102513+01'00')>>
endobj
5 0 obj
<</Type/Metadata/Subtype/XML/Length 832>>stream
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="DynaPDF 4.0.34.96, http://www.dynaforms.com">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
    xmlns:pdf="http://ns.adobe.com/pdf/1.3/"
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">
<pdf:Producer>DynaPDF 4.0.34.96</pdf:Producer>
<xmp:CreateDate>2021-05-07T10:25:13+01:00</xmp:CreateDate>
<xmp:MetadataDate>2021-05-07T10:25:13+01:00</xmp:MetadataDate>
<xmp:ModifyDate>2021-05-07T10:25:13+01:00</xmp:ModifyDate>
<xmpMM:DocumentID>uuid:41cf2e83-e8b2-3f26-9af2-9550f4061c9c</xmpMM:DocumentID>
<xmpMM:VersionID>1</xmpMM:VersionID>
<xmpMM:RenditionClass>default</xmpMM:RenditionClass>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>
endstream
endobj
6 0 obj
<</Type/XRef/Size 7/Root 3 0 R/Info 4 0 R/ID[<62E4476811216C9C0501B3CE15500C34><62E4476811216C9C0501B3CE15500C34>]/W[1 2 0]/Filter/FlateDecode/Length 29>>stream
xœc```d`dˆgd˜ÄÈpŽ‘1Œ‘å Ä
endstream
endobj
startxref
1250
%%EOF
Mike