I have a form that generates production reports from an access db. The form gives the user the option to generate reports in Microsoft Snapshot format, via the click of a button. When the user clicks this button, a Snapshot file is created and stored in a folder on the user's c: drive. I coded the on_click event of the button to name the Snapshot file as follows: "reportName_startDate_endDate". The start and end dates represent the date range the user specified for the data.
The issue is, instead of adding the correct dates to the name of the file, the program adds a bogus number or date. The file name will come out as "reportName_53_51". After a few changes it will give a Feb. date, which is also wrong. Can anyone help?
The issue is, instead of adding the correct dates to the name of the file, the program adds a bogus number or date. The file name will come out as "reportName_53_51". After a few changes it will give a Feb. date, which is also wrong. Can anyone help?