Sorry to have to repeat this question, but I have spent about a week trying to figure this one out. Here is what I need my database to do.
I created a database in Access 2000 and am currently working on it in Access 2002. The database generates agreements for each faculty member in our campus. Currently we print them to pdf manually and then printing it to paper to be mailed out. We are now moving towards emailing them and creating a logging system to track versions of the agreement. Below are the steps I need to accomplish and I am currently stuck at Step 3 (see below). Step 4 is another challenge, but I need to get over this hump first
Step 1: generate agreement data & assign agreement version to the data.
Step 2: compare data, if different, print the report and send data to log.
Step 3: print file to pdf, save file to a shared drive with a unique file name
Step 4: grab file and email to employee, payroll and department
I have created a formula within a query that creates the pdf file name. I need to somehow send that value to the report caption within the report. I have read a few postings here and online and cannot find a solution that matches my dilema. The report that I created is based on the query that holds the pdf file name. The query itself may have multiple lines of data of which each contains the same pdf file name. I figured this would be a problem when passing values to a report, so I decided to create a query that groups the data and send it to a temp table, giving me just one value of the pdf file name.
I noticed that the Me.Caption = "String Name" works but is only good for one file name. Does anyone know the vb code for the data value located in a table? Table Name = CurrentAgreementInfo, Field Name = "PdfFileName".
Any help is greatly appreciated...Thanks.
I created a database in Access 2000 and am currently working on it in Access 2002. The database generates agreements for each faculty member in our campus. Currently we print them to pdf manually and then printing it to paper to be mailed out. We are now moving towards emailing them and creating a logging system to track versions of the agreement. Below are the steps I need to accomplish and I am currently stuck at Step 3 (see below). Step 4 is another challenge, but I need to get over this hump first
Step 1: generate agreement data & assign agreement version to the data.
Step 2: compare data, if different, print the report and send data to log.
Step 3: print file to pdf, save file to a shared drive with a unique file name
Step 4: grab file and email to employee, payroll and department
I have created a formula within a query that creates the pdf file name. I need to somehow send that value to the report caption within the report. I have read a few postings here and online and cannot find a solution that matches my dilema. The report that I created is based on the query that holds the pdf file name. The query itself may have multiple lines of data of which each contains the same pdf file name. I figured this would be a problem when passing values to a report, so I decided to create a query that groups the data and send it to a temp table, giving me just one value of the pdf file name.
I noticed that the Me.Caption = "String Name" works but is only good for one file name. Does anyone know the vb code for the data value located in a table? Table Name = CurrentAgreementInfo, Field Name = "PdfFileName".
Any help is greatly appreciated...Thanks.