Results 1 to 13 of 13
  1. #1
    registan is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    25

    About filters

    Hi,

    When i click on a record in a form, i want macro to open another form and go to exact record which i clicked on. How can i do that? Please help.

    P.S. im using Microsoft Access 2007

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922

  3. #3
    registan is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    25
    Thank you RuralGuy,

    I don't know what to write in "ControlName". Let's say i have "Personnel" form and "Summary" form, both of them have column "Personnel_ID", i want to have info in the form "Summary" about the exact Personnel_ID which i pressed on in the form "Personnel". Sorry for my english...

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I would start by using Personnel_ID in place of the Controlname and see what happens.

  5. #5
    registan is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    25
    No, didn't work, actually i don't really know how to use VBA code, i usually use Microsoft Access' own commands. Anyways, thank you very much.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Post the code you are using.

  7. #7
    registan is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    25
    I will send you my mdb file.

  8. #8
    registan is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    25
    By the way, how can i get the code?

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Can you post your db?

  10. #10
    registan is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    25
    This is my db, if you click on "Sicil" in "PerList" form, it will open "PerListSum" form and goes to first record. I want to go to exact record which i clicked on.

  11. #11
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Aee if this works for you.

  12. #12
    registan is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2011
    Posts
    25
    Yeah it works, thank you Rural.

  13. #13
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Great! Do you see what I did?

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

Similar Threads

  1. Replies: 1
    Last Post: 02-12-2011, 09:06 PM
  2. Replies: 3
    Last Post: 09-15-2010, 12:35 PM
  3. Subform with multi filters
    By Aragon.2009 in forum Forms
    Replies: 0
    Last Post: 08-27-2010, 03:01 PM
  4. Filters fails with ado disconnected recordset
    By afn.franco in forum Access
    Replies: 0
    Last Post: 06-08-2010, 08:13 AM
  5. Creating Filters on a Form
    By Nixx1401 in forum Access
    Replies: 4
    Last Post: 02-27-2010, 05:32 AM

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