I am inexperienced at this (posting and writitng code).
I am using an Access2000 datasheet form with checkboxes to select PDF documents for printing. The PDFs are given filenames based on the doc_id assigned as the primary key in the doc table when the doc is entered into the database. What I can't do is use a form to select which docs to print with AdobeReader. I have been trying For Each loops but can't get the syntax and proper variable types to work. What I need to know is how to write this:
Dim (what???)
For Each (doc_id???) in (form control or underlyingtable ???)
If PrintThis field = "Yes" then
(Print using AdobeReader)
Next
Thanks,
Ron
I am using an Access2000 datasheet form with checkboxes to select PDF documents for printing. The PDFs are given filenames based on the doc_id assigned as the primary key in the doc table when the doc is entered into the database. What I can't do is use a form to select which docs to print with AdobeReader. I have been trying For Each loops but can't get the syntax and proper variable types to work. What I need to know is how to write this:
Dim (what???)
For Each (doc_id???) in (form control or underlyingtable ???)
If PrintThis field = "Yes" then
(Print using AdobeReader)
Next
Thanks,
Ron
Comment