0

We developed manufacturing ERP in PowerBuilder 10.5 and SQL Server.
And now we want to generate PDF file dynamically from datawindow and send it to the customer via e-mail attachment.
(we don't use PFC, we use our own framework)

Any help will be appreciable.

Any solutions?

1 Answers1

1

The easiest way is to install a PDF printer on the workstation; print the datawindow to this printer (thus creating a file); and then using OLE to create the email in Outlook, attach the file, then send it. There are many examples online which show this type of functionality.

Matt Balent
  • 2,337
  • 2
  • 20
  • 23