Currently I have a a macro in access that accepts a number(user input) and assigns it to tempvar for use within the macro. The macro then runs several queries and creates a report. I would like to write code to read a numeric field in a table and use that as the variable for use in the macro and create the report, then print the report to pdf. Ideally this would repeat these steps until EOF. Any help would be greatly appreciated.
Last edited: