LimitedTech
Technical User
I have read several threads that look way over complicated for what I am attempting to do.
I would like to store images (pdfs mostly) in a folder that will have a name that corresponds to a text field in my database.
I want to place a button on the form that will open Windows Explorer in the specified folder based on the value in a text box.
I can use "Explorer /e,C:\Windows" (in the OnClick event) to open explorer but it obviously doesn't allow me to make it dynamic depending on the value in the text box.
The path to the folders will be f:\mydocuments\Archive\XXXXX
where XXXXX will be the folder name from the record. (text but actually a 5 digit number)
The control that will be used is called OrderNumber
Access 2000
Windows XP
I would also be interested to know if a way exists to automatically create the folder when the record is made, if it doesn't already exist.
Thanks!
I would like to store images (pdfs mostly) in a folder that will have a name that corresponds to a text field in my database.
I want to place a button on the form that will open Windows Explorer in the specified folder based on the value in a text box.
I can use "Explorer /e,C:\Windows" (in the OnClick event) to open explorer but it obviously doesn't allow me to make it dynamic depending on the value in the text box.
The path to the folders will be f:\mydocuments\Archive\XXXXX
where XXXXX will be the folder name from the record. (text but actually a 5 digit number)
The control that will be used is called OrderNumber
Access 2000
Windows XP
I would also be interested to know if a way exists to automatically create the folder when the record is made, if it doesn't already exist.
Thanks!