In my case, I started with an invoice already in a PDF, as that's how I send them to clients. I'm a big fan of PDF for this purpose: they're not (easily) modified, the print pretty at the client's site regardless of their printers, and they make a professional appearance. Word, not so much.
Here's what I did to get an invoice to display on a report: CREATE TABLE example FREE (examplepk i autoinc, invoice g) APPEND BLANK APPEND GENERAL invoice from sampleinvoice.pdf LINK CREATE REPORT example FROM example.dbf REPORT FORM example preview MODIFY REPORT example * Add in the general field and mess around with layout settings, settling on "Clip Contents" * The report shows up with a big blue 'e' -- a classic error message! This is the icon for Windows Edge, * in this case, the default PDF handler for Win10. * Visit the Adobe site, download the Adobe Reader DC and follow the prompts to make it the default handler. * REPEAT the Append General step (since the first general field is linked to Edge) and Preview the Report. * Voila! WYSIWYG Invoice on a report form in six lines of code. On Wed, Jul 27, 2016 at 7:17 AM, Ted Roche <[email protected]> wrote: > Okay, Sytze, Alan says it works fine. > > Is it possible that you are trying to run 64-bit Office from within > (always 32-bit) Visual FoxPro? That might cause a problem. > > On Wed, Jul 27, 2016 at 4:59 AM, Alan Bourke <[email protected]> wrote: >> I just tested this under Windows 10, VFP9 SP2 and a small table with a >> general field linked to Word 2016 .docx files. It seems to indeed work >> fine once I set the properties of the report field to 'Scale Picture - >> Retain Shape'. >> >> So again I would strongly suspect path resolution issues. >> >> -- >> Alan Bourke >> alanpbourke (at) fastmail (dot) fm >> [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cacw6n4s04_ktjph9quc_aduffxwfmztsbs86t_oph25xcio...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

