Results 1 to 7 of 7
  1. #1
    Grek is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    39

    2 issues with my form

    Hello,

    Currently experiencing 2 issues with my database

    1. Do you know why in my form “F_MainSearch”, I can not see 4 records in my sub-form, but only 3?
    It seems that record with UniqueID 5 does not appear in the list (you can see it by viewing the table T_NewLaunches)

    2. Do you know why my combo box cboCreateNewEntry only returns 4 choices and not 7 as per the lookup values in field “Event Type” of T_NewLaunches?



    Many thanks,

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    No. 1 is because the RecordSource for Q_NewLaunches subform is an INNER JOIN of the table T_NewLaunches_IMTasks and query Q_NewLaunches

    No. 2 is because the combobox RowSource is a query to T_NewLaunches table, not the ValueList that is set up in the table.
    Last edited by June7; 11-03-2011 at 09:43 PM.
    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
    Grek is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    39
    Thanks June07!

    For #1: I made the change and it worked. However now that I decided to include an additional field “IM Name” from an other table in form “Q_NewLaunches Sub Form” , it returns – again - 3 results instead of 4. I really don’t understand what is wrong? I added the field “IM Name” in my query “Q_NewLaunches” so would expect to see the 4 results? What’s the logic for the query to return 3 results, and one in particular is not displayed?

    For #2: Got it – thanks!

    Many thanks,

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    The query Q_NewLaunches is an INNER JOIN.
    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.

  5. #5
    Grek is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    39
    Thanks June07 - Not sure to fully understand what it means though. What do I need to fix?
    Many thanks,

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    An INNER JOIN requires that the linked fields have the value in both tables. So only records that match will retrieve.

    You need to change the JOIN TYPE for this query to be 'ALL records from T_NewLaunches and those from T_NewLaunches_IMTasks that match'. I think this will be a RIGHT JOIN. I don't have your project or Access2010 here so can't verify.

    With the query in Design View, double click the line linking the table/query objects and edit the JOINTYPE.
    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.

  7. #7
    Grek is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    39
    Works fine! Many thanks

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

Similar Threads

  1. Button and form Issues
    By rmohebian in forum Access
    Replies: 1
    Last Post: 03-01-2012, 06:23 PM
  2. Self-join and form issues
    By Ragothlham in forum Access
    Replies: 1
    Last Post: 10-05-2011, 01:55 PM
  3. Printing form record issues
    By rmohebian in forum Forms
    Replies: 0
    Last Post: 03-03-2011, 01:17 PM
  4. Issues with Continues form
    By ducecoop in forum Access
    Replies: 3
    Last Post: 11-11-2010, 01:18 PM
  5. Help with multiple form issues
    By AKQTS in forum Forms
    Replies: 0
    Last Post: 08-18-2010, 07:57 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