Printing Problem

F

Frank

Hello!

My app records "attachments" in a table like -

lngParentID, strDocumentPathAndName
10001, "C:\MyApp\Attachments\10001_Attachment1.xls"
10001, "C:\MyApp\Attachments\10001_Attachment2.txt"
10001, "C:\MyApp\Attachments\10001_Attachment3.pdf"
10002, "C:\MyApp\Attachments\10002_Attachment1.pdf"

The attachment files can be of any type (.pdf, .doc, .txt, etc.).

Can anyone suggest some code to loop throught the attachments for a given
'parent' and print each attachment to th default printer?

Thanks in advance ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top