Mirica_Victor
Registered User.
- Local time
- Tomorrow, 01:00
- Joined
- Oct 24, 2008
- Messages
- 11
Hy,
I have a database wich on a button creates a *.rtf report in a folder. As I create a lot of files in the same folder, i wonder if I could control the number of files in that folder (each time I create a new report, the oldest one wil be deleted). For this I need to have a table or a query that contains the files in that folder and each time i create a new report the oldest one must be deleted (delete qry to del the min of date created *fso). Seems easy, but how do I get that table of files into access? this table wil be created each time I create a new report, and the del qry wil run also.
Any ideas?
I have a database wich on a button creates a *.rtf report in a folder. As I create a lot of files in the same folder, i wonder if I could control the number of files in that folder (each time I create a new report, the oldest one wil be deleted). For this I need to have a table or a query that contains the files in that folder and each time i create a new report the oldest one must be deleted (delete qry to del the min of date created *fso). Seems easy, but how do I get that table of files into access? this table wil be created each time I create a new report, and the del qry wil run also.
Any ideas?