I hope that somone can help me.
I have a text file (csv) that I currently link to using an access database. This data is then manipulated and specific rows are exported. All is working well when I test the database and everything works as expected.
Unfortunatley, when I was given the original requirement, the person for whom I am doing this work failed to tell me that the text file has a different name each day. It is basically a file name with the date as a 6 digit number appended to the file name. The other issue that I have to deal with is that the folder where the file is stored also changes on a daily basis to reflect the file name change.
I was using the standard link table manager to originally link to this csv file. As the file name is not dynamic, I can no longer use this method of linking.
With this in mind, would someone be able to provide sample code / point me in the right direction so that I can create a way of either asking the user to select the file (not ideal) or to find a way of searching for the latest folder / file and link automatically to that?
I am stumped at the moment so any assistance or ideas would be great!
Many thanks,
Justine
I have a text file (csv) that I currently link to using an access database. This data is then manipulated and specific rows are exported. All is working well when I test the database and everything works as expected.
Unfortunatley, when I was given the original requirement, the person for whom I am doing this work failed to tell me that the text file has a different name each day. It is basically a file name with the date as a 6 digit number appended to the file name. The other issue that I have to deal with is that the folder where the file is stored also changes on a daily basis to reflect the file name change.
I was using the standard link table manager to originally link to this csv file. As the file name is not dynamic, I can no longer use this method of linking.
With this in mind, would someone be able to provide sample code / point me in the right direction so that I can create a way of either asking the user to select the file (not ideal) or to find a way of searching for the latest folder / file and link automatically to that?
I am stumped at the moment so any assistance or ideas would be great!
Many thanks,
Justine