Results 1 to 3 of 3
  1. #1
    mchadwick is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Sep 2011
    Posts
    71

    Click a button from a continuous form line to open records

    I have a continuous form with 5 to 10 records in it. Projects.
    I would like to have a button on each line of the report that will allow me to open another form with the data in from the record they selected.



    Project
    Bob 10 record for this project
    John 32
    Chris 2
    Mary 10

    I click on the button for the line Mary and another form opens up with only the 10 records from Mary.

    I would love to be able to do this with just macro commands but will do what I need to do to make it work. Thank you in advance.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    So build embedded macro for button click event. Use OpenForm command. Include filter criteria in WHERE CONDITION argument.

    What exactly do you not understand about using macro builder for this requirement?
    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
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Docmd.openform “Form2”,,,”[id]=“ & txtID

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

Similar Threads

  1. Replies: 9
    Last Post: 02-23-2022, 09:11 AM
  2. Replies: 5
    Last Post: 02-13-2019, 05:03 PM
  3. Replies: 9
    Last Post: 09-05-2013, 02:11 PM
  4. Replies: 6
    Last Post: 08-30-2012, 06:23 PM
  5. Replies: 1
    Last Post: 03-03-2010, 07:29 PM

Tags for this Thread

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