Hello,
I am a newbie on ms access forum.net
I would like to have the VBA script for searching for a specific .pdf file on server location and list this (or multiple revisions of this file) in a list box on my form.
The filled list box shall list the .pdf files and the files needs to be opened by double click.
I do have an example script for adding all files from specific location to the list box, however I am struggling with adding search criteria.
So far I have a form with text box 'drawing location' (which specifies the location of all the .pdf drawings on the server), I am having a text box with drawing number, which shall be the search criteria.
The search criteria shall be based on the first 7 digits of the .pdf name.
There is even a list box on the form where the found .pdf files need to be shown.
It is not important it the script shall be activated by button click or form 'on current' event.
It would be the easiest way to have it done with a function call I believe.
I am using MS Access 2010, 64 bit with Windows 7 professional.
Your help is highly appreciated
thanks in advanced
Ruud