MikeCorleone
Programmer
Hi,
I am doing a document gestion on access. I have a form with a box to complete. When you input a number inside the box, access display informations about the document related to the number.
For example: If you choose number 269, you could see the name of the document, the author, publication date, etc...
For some of the number, I have an excel sheet of the same name that the number (in this case 269.xls).
My problem is that, I can retrieve some information about this sheet (file exist or not, path) but I can't open it.
How can I do to open a file in a location, with the name given by the user?
If I write 269 in the box, access must open 269.xls
if I write 287 in the box, access must open 287.xls
.....
notes:
- All the files have the same format ---.xls
- All the files are in the same location
If you could help me please.
Thank you for reading this.
I am doing a document gestion on access. I have a form with a box to complete. When you input a number inside the box, access display informations about the document related to the number.
For example: If you choose number 269, you could see the name of the document, the author, publication date, etc...
For some of the number, I have an excel sheet of the same name that the number (in this case 269.xls).
My problem is that, I can retrieve some information about this sheet (file exist or not, path) but I can't open it.
How can I do to open a file in a location, with the name given by the user?
If I write 269 in the box, access must open 269.xls
if I write 287 in the box, access must open 287.xls
.....
notes:
- All the files have the same format ---.xls
- All the files are in the same location
If you could help me please.
Thank you for reading this.