setting working directory with mapkeys
Hi
I would like to speed up as much as possible the working directory setting.
Our final working directory is often a number that can vary from 1 to 9999
I would like to set up a procedure started with a mapkey (or, if it makes sense, any other way) asking this item code number and setting the working directory. The directory before this item code number can be the same (if the customer is the same) or can change (if the Customer is another one)
Let's make an example:
N:\ProE_Docs\Forgings\CustomerName1\10
N:\ProE_Docs\Forgings\CustomerName1\123
N:\ProE_Docs\Forgings\CustomerName2\9999
So, this path can change on the last two directories.
Is that possible to read a database where every item code number is assigned to a CustomerName, in order to know how to set the right path for that item?
In this way, when I call the macro, an input ask me the item number, read on the database to know the CustomerName assigned to that item code number and than the working directory can be set corectly.
I hope to have explained it in a clear way.
Thanks
