Results 1 to 6 of 6
  1. #1
    sesproul is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Posts
    50

    DoubleClick row in Sub form to launch new Form

    Hello,



    I've got this situation in several places, I have two forms. One displays Product detail frmProduct, with a Subform frmsubParts showing all parts that go into the Product. frmsubPARTS is in datasheet view.

    the second Form is a for Parts frmPartdetail, with a sub form showing what products this part is frmsubPartsProd. Again the frmsubPartsProd is in datasheet view.


    When I double click a line in either Sub form I want to load the form with the detail. what event do I use (I assume that this event will be in the sub form.)

    i.e.
    frmProduct:frmsubParts

    (dclick frmsubParts item 2--------->) Launch frmPartdetail show item 2


    this same behaviour occurs in several other forms.


    Thanks


    Steve

  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
    This should help:

    BaldyWeb wherecondition
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    sesproul is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Posts
    50
    That's helpful for the code to show the form, but I am after the EVENT when you click on the datagrid line.

    Steve

  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
    The double click event of one or more textboxes.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    sesproul is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Posts
    50
    i actually did code it into the textboxes, But I was wondering if there was a "Record level" selection.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Not that I've found. The double click event of the subform wouldn't fire when you double clicked in textboxes, only in open area or on the record selectors along the left. To me, double clicking in the textboxes is most intuitive for the users.
    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: 9
    Last Post: 02-19-2010, 12:07 PM
  2. Replies: 9
    Last Post: 03-24-2009, 09:19 PM
  3. Replies: 1
    Last Post: 03-02-2009, 11:54 AM
  4. Replies: 0
    Last Post: 01-18-2007, 07:07 PM
  5. HOW DO I: Add or Launch Report from a Form?
    By ba1959nh in forum Forms
    Replies: 2
    Last Post: 09-25-2006, 04:33 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