Printing Problem

  • Thread starter Thread starter Frank
  • Start date Start date
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 ...
 
Back
Top