Results 1 to 4 of 4
  1. #1
    CQCDave is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    47

    Macro opening specific record in different formc

    Thanks in advance for the help. I am using MsAccess 2007.



    I have 2 forms Kit Change and Inventory.

    I have created a macro to open a corresponding record in a different form.
    From the Kit Change form i have a button to Open Form
    Form Name Inventory
    View Form
    Where Condition [ItemNumber] Like [Inventory]![Item #]

    This prompts me to enter Item Number. I want it to display the corresponding record from the inventory form without entering the prompt.

    Thanks...

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If you want to use VBA:

    BaldyWeb wherecondition

    To stay with a macro, you use the full form reference:

    Forms Refer to Form and Subform properties and controls
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    CQCDave is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    47
    Thanks for the help...

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 5
    Last Post: 01-24-2015, 12:59 AM
  2. Replies: 2
    Last Post: 07-08-2014, 11:15 AM
  3. Replies: 4
    Last Post: 12-13-2013, 04:50 PM
  4. Opening Form to a Specific Record
    By PPat in forum Forms
    Replies: 9
    Last Post: 04-24-2013, 08:47 PM
  5. Help with opening form to specific record
    By manic in forum Programming
    Replies: 7
    Last Post: 09-18-2012, 08:44 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