Results 1 to 5 of 5
  1. #1
    tomlam is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    10

    Browse and Open Folder Based on Matching Form Field - tomlam

    Hi All



    My situation is that the access form field name is "Number" , there is a folder named "member" in
    desktop C:\Users\Tom\Desktop

    for example If i press the command button (Field name "Number" is 123) in form , then automatic open named "123" folder inside named "member" folder

    What is the Command button Code ?

    Thanks for your help

    Tomlam

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    You want to open the file browser? Review http://www.cpearson.com/excel/browsefolder.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tomlam is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    10
    thanks for your great help for introduce website for my learing. after see the website, i still dont understand how to write the command button code for my questions. if can give me more tips how to write, it will be appreciated. thanks you

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    What don't you understand? Do you not know how to create VBA event code behind a command button?

    Here is another reference showing code for a button click event. Just copy/paste it behind a form and create a button with the same name as the procedure. http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    tomlam is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Posts
    10
    Hi Super Moderator

    Thanks for your help and i can make it . This help me in my job
    Thanks for yr great help

    Bye...
    TomLam

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Browse and Open Folder Based on Matching Form Field
    By Tomfernandez1 in forum Access
    Replies: 11
    Last Post: 02-26-2013, 01:04 PM
  2. Replies: 9
    Last Post: 06-28-2012, 10:10 PM
  3. Open an external folder specific by a form field
    By AccessNoob16 in forum Forms
    Replies: 11
    Last Post: 04-09-2012, 01:30 PM
  4. Browse For Folder Example
    By pkstormy in forum Code Repository
    Replies: 6
    Last Post: 01-08-2012, 04:13 PM
  5. Need an ActiveX control for folder browse
    By dbodell in forum Programming
    Replies: 4
    Last Post: 08-24-2011, 12:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums