Results 1 to 3 of 3
  1. #1
    drunkenneo is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    199

    Form and Subform

    I have a Form and a subform:

    Subform: its an direct display of table with the datasheet view

    ID


    Name
    order_number
    process_date
    Status


    And i have form linked on parent/Child on Order_number.

    Problem is when i open form the subfor displays only single order_number record, eg 3 records for order_number xxxx. I want it to display whole when opened.

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    naeemahmad is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2013
    Location
    Riverside, USA
    Posts
    46
    I personally dont like to use the parent/child properties because sometime they are not flexible enough to perform the task you would like to see happen.
    I use VBA most of the time when I can , even if there is a Macro that can accomplish a similar task.

    How about using vba to have the forms FILTER event triggered to provide the necessary results.

    I have use the code below in the past reliably, bypassing the 'parent/child' aggravation..

    '--------------------------------------------
    Forms![frmTCDILOG]![UPDATE UNIQUE DEVICE].Form.Filter = "[User_Comment]=" & Me.[User_Comment]
    Forms![frmTCDILOG]![UPDATE UNIQUE DEVICE].Form.FilterOn = True
    '--------------------------------------------

    Of course there are many ways to achieve the desired results.. good luck!

    Naeem~

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

Similar Threads

  1. Replies: 1
    Last Post: 07-22-2013, 12:00 PM
  2. Replies: 1
    Last Post: 04-24-2013, 12:12 PM
  3. Replies: 15
    Last Post: 03-05-2013, 11:57 PM
  4. Replies: 6
    Last Post: 08-22-2012, 03:24 AM
  5. Replies: 3
    Last Post: 04-17-2012, 10:28 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