Hi Guys,
I have a 'report' from Access that is generated daily. This 'report' is in fact only a collection of mailing address info from a database, used to print applications that are sent to customers. I have grown tired of being prompted the filename, because it is always the same (sort of).
The best way I can think of to accomplish this is to create a string variable containing (dateadd today- 1) and the rest of the desired filename. Then have my sub open the report in design mode, change the caption to string variable, close design mode, open, and print to my output directory.
I am not so familiar with many of the finer points in Visual Basic, and that makes me think there might be a better way. If there is I would love to know it.
If anyone has other ideas for how I could accomplish this please let me know.
Thanks,
Alex
I have a 'report' from Access that is generated daily. This 'report' is in fact only a collection of mailing address info from a database, used to print applications that are sent to customers. I have grown tired of being prompted the filename, because it is always the same (sort of).
The best way I can think of to accomplish this is to create a string variable containing (dateadd today- 1) and the rest of the desired filename. Then have my sub open the report in design mode, change the caption to string variable, close design mode, open, and print to my output directory.
I am not so familiar with many of the finer points in Visual Basic, and that makes me think there might be a better way. If there is I would love to know it.
If anyone has other ideas for how I could accomplish this please let me know.
Thanks,
Alex