I have a report based on a query of an open form. The query selects the data for the report based on field information gleaned from the open form. I then output the report in html format to a designated directory on the network.
The user has to type in a file name to save the report to.
I would like to automatically generate the file name by concatenating two fields from the open form. The fields are a date field and a numeric field that designates the shift the user is working (we operate 3 shifts, 1st, 2nd, and 3rd.)
I am currently generating the report using a macro run from a command button. The macro uses the output to function to send the report. In the macro design window I can enter the path and the file name. It is in this macro that I would like to automatically generate the file name from information on the open form.
Thanks in advance for your help.
The user has to type in a file name to save the report to.
I would like to automatically generate the file name by concatenating two fields from the open form. The fields are a date field and a numeric field that designates the shift the user is working (we operate 3 shifts, 1st, 2nd, and 3rd.)
I am currently generating the report using a macro run from a command button. The macro uses the output to function to send the report. In the macro design window I can enter the path and the file name. It is in this macro that I would like to automatically generate the file name from information on the open form.
Thanks in advance for your help.