Results 1 to 2 of 2
  1. #1
    vazdajic is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2016
    Posts
    95

    Records shown in subform based on combo box selection on a main form

    Hello there. I have a problem.. Picture attached says it all (DB attached as well).

    I have tried as:

    SELECT [WELDS].[KKS], [WELDS].[WN], [WELDS].[WS], [WELDS].[OD], [WELDS].[WT], [WELDS].[DWG], [WELDS].[DATE_WELDED], [WELDS].[NOTE]
    FROM [WELDS]


    WHERE (((WELDS.[KKS])=[Forms]![WELDS_INPUT]![Combo3]))

    but it doesn't show me all records (WN) related to the same KKS (one to many relation; one KKS many WN) but just one row in subform containing KKS

    Help much appreciated..

    Click image for larger version. 

Name:	Records shown in subform based on combo box selection on a main form.jpg 
Views:	14 
Size:	279.0 KB 
ID:	23923
    Attached Files Attached Files

  2. #2
    Lewis825 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2015
    Location
    UK
    Posts
    19
    on the Query that runs the Subform you'll need to add critrea to the KKS field

    =[form]![*FormName*]![*cmbChooseKKS*]

    then add me.refresh on the after update of combobox

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

Similar Threads

  1. Requering the subform shown on main form
    By vazdajic in forum Forms
    Replies: 8
    Last Post: 02-29-2016, 12:06 AM
  2. Replies: 6
    Last Post: 02-23-2016, 01:45 PM
  3. Replies: 4
    Last Post: 07-11-2012, 10:31 AM
  4. Subform Combobox based on Main form combo box
    By accessmom in forum Forms
    Replies: 5
    Last Post: 02-21-2011, 07:02 AM
  5. Replies: 5
    Last Post: 01-02-2011, 10:09 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