G
Guest
I need help to shorten the worktime here.
I have a form that has a subform in it.
The main form contains the shipment-ID
In the subform there are several ordernumbers that comes in the shipment.
Most of the ordernumbers have an Excel-file containing information about the
order.
Since there are ALOT of Excel-files, I wonder if there is a way to find the
Excel-files regarding the ordernumbers shown in the subform in Access.
The files are always in a specific path. (W:\Folder1\Folder2\Supplier\
Every supplier has its own folder, but since a supplier can have more than
one name (I know this sounds funny, but its a fact) it complicates everything.
The name of the Excel-file contains both suppliername and ordernumber, so it
can not search for exact filename. (The search would be something like *1234*)
Since the order at this time have been delivered to the warehouse, I need
this file printed on paper.
After the paper comes out, the user can have the option to delete the file
since it is no longer useful.
The reason I need to automate this function, is because the files arent
always in the right folder, (different suppliernames) and this forces the
user to search for it.
Since there are many orders, this takes to long time.
I´m thinking there can be a button in the main form.
This finds the files and opens the searchresults in another form.
In that form the user can select the files and then have the options to
print out selected files or deleting selected files.
I know that this is an advanced question, and this is perhaps impossible to
do, but I´m hoping.
If you have any other suggestions on how to solve this, I would be grateful
for this.
BR
Claes
I have a form that has a subform in it.
The main form contains the shipment-ID
In the subform there are several ordernumbers that comes in the shipment.
Most of the ordernumbers have an Excel-file containing information about the
order.
Since there are ALOT of Excel-files, I wonder if there is a way to find the
Excel-files regarding the ordernumbers shown in the subform in Access.
The files are always in a specific path. (W:\Folder1\Folder2\Supplier\
Every supplier has its own folder, but since a supplier can have more than
one name (I know this sounds funny, but its a fact) it complicates everything.
The name of the Excel-file contains both suppliername and ordernumber, so it
can not search for exact filename. (The search would be something like *1234*)
Since the order at this time have been delivered to the warehouse, I need
this file printed on paper.
After the paper comes out, the user can have the option to delete the file
since it is no longer useful.
The reason I need to automate this function, is because the files arent
always in the right folder, (different suppliernames) and this forces the
user to search for it.
Since there are many orders, this takes to long time.
I´m thinking there can be a button in the main form.
This finds the files and opens the searchresults in another form.
In that form the user can select the files and then have the options to
print out selected files or deleting selected files.
I know that this is an advanced question, and this is perhaps impossible to
do, but I´m hoping.

If you have any other suggestions on how to solve this, I would be grateful
for this.
BR
Claes