Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Method to insert file path into database

Status
Not open for further replies.

Moss100

Technical User
Aug 10, 2004
586
GB
I would like to be able to click a button and have access open a window where i can browse to a file, select the file and store the file path in my database, in a field called 'filepath'

Can anyone tell me whether i can do this through a macro. If not can it be done by code?

Any help would be greatly appreciated.

Many thanks Mark.
 
With code you may play with the Application.FileDialog object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
I generally include the code from in almost all of my MDB files.



Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top