Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Apr 2003
    Location
    Calgary, Alberta
    Posts
    327
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Links as content in textbox (Access 2000)

    I have a form and I would like to have the user click a button to browse his computer to find a specific file. I would like to store that file and the path in the database. Does anyone know how I could start get the user to browse for a file and store the information?

    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Links as content in textbox (Access 2000)

    The attached zipped Access 97 database contains a class module CommonDialog and a standard module modGlobals that can be used to show a File Open dialog to the user. The form frmOpen demonstrates its use.

    To use the code, import or copy both modules to your database. Adapt the code behind frmOpen to store the path and filename selected by the user in a field.
    Attached Files Attached Files

  3. #3
    3 Star Lounger
    Join Date
    Apr 2003
    Location
    Calgary, Alberta
    Posts
    327
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Links as content in textbox (Access 2000)

    Oh man, that zip file is very cool. Thanks a bunch

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •