I have been asked by a colleague to provide some help in automating a large, repetitive task. The job required is to output a large number of Access reports to snapshot format.
BACKGROUND: We use Access for maintaining manufacturing specifications and it works well. Normally, only a couple of specs may change at a time and then the individual reports are called up, output to snapshot and moved to our server for reference. In this case, there are over 400 reports that have been affected by a change and she’d rather not call up each one separately and output to snapshot.
DETAILS: A table contains all the reference data which is loaded into a report. There are 453 records in this table at the present time. We have a report which loads the required data for a particular record (based on one field [PartNumber]) from the table, as chosen from a separate lookup form. The lookup form is automatically called up when the report is loaded. The user must chose the record in question and then upon clicking OK, the report opens. The user then exports this report in a snapshot format.
How can I build a VBA module which will simply open that report for each record in the table and output a snapshot one-by-one? I’ve tried to duplicate a similar (but slightly unique) task from a different database, but it is not working.
Drew