G
Guest
I have a database that opens an import file, formats the data contained in
the import file for export to our mainframe, and reports on the data. The
import files for this database are named by the date they are generated, i.e.
bd112805.ok. I want to be able to have Access automatically find and open
these files based on the current date. I also need to rename them from their
..ok extensions to a .txt so that they will open in Access XP (unless there's
a way to override Access and force it to import the files as they are now,
without renaming them). Copying the files is no big deal, except that I can't
figure out for to make it copy the file for the current day on it's own. My
command syntax is fine, but the filename changes each day. (I'm using
FileCopy "\\media\export\bd112805.ok", "c:\bd112805.txt".)
the import file for export to our mainframe, and reports on the data. The
import files for this database are named by the date they are generated, i.e.
bd112805.ok. I want to be able to have Access automatically find and open
these files based on the current date. I also need to rename them from their
..ok extensions to a .txt so that they will open in Access XP (unless there's
a way to override Access and force it to import the files as they are now,
without renaming them). Copying the files is no big deal, except that I can't
figure out for to make it copy the file for the current day on it's own. My
command syntax is fine, but the filename changes each day. (I'm using
FileCopy "\\media\export\bd112805.ok", "c:\bd112805.txt".)