Results 1 to 14 of 14
  1. #1
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11

    I have a issue with certain table records not showing up in a form

    I am a training officer and am developing a training database. The issue I'm having is certain data in my table is not showing up on my form that pulls up each individuals training record it pulls up some but not all records.
    Click image for larger version. 

Name:	access pic 3.jpg 
Views:	22 
Size:	36.5 KB 
ID:	39677


  2. #2
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11
    This appears to be restricted to only one person

  3. #3
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11
    I tried deleting all the records of him and reentering it changed how many were hidden but not all

  4. #4
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11
    It also looks like you have controls on the main form that are supposed to filter the dataset in the subform. Am I correct in that assumption?

    Yes It does a search for the members name to display his records.

    If I am then we need to know how you re trying to filter the data in the subform. What is the Recordsource of the subform?

    The Recordsource is a table called training log which I screenshot and is shown on the left.

    Is the main form unbound?
    I believe it is bound to the to the member table from which it grabs the member name and applies that as a search criteria in the sub form.

    Is there any code behind those controls to filter the subform, if so, please show us the code.

    I have done no coding

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Can you attach the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11
    no i cannot

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Which person doesn't pull up all the appropriate records?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11
    His Name is Fung

  9. #9
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Your problem is that the names differ between tables. The ID should be stored in the training log table, not the name (that's basically always the case). The ID should also be the linking field, not name. Here's your problem:

    FUNG, CHRIS (fire fighter table)
    FUNG,CHRIS (training log table)

    Since the names are different (the space), they won't show up when you try to connect via name.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  10. #10
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11
    Nope that didnt work

  11. #11
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11
    Quote Originally Posted by hcl40 View Post
    His Name is Fung
    Thx got it finally

  12. #12
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716

  13. #13
    hcl40 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Posts
    11
    Quote Originally Posted by orange View Post
    ??Nope that didnt work??

    Can you expand on this? Error? ??
    No it did I'm golden now thx!!!

  14. #14
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Quote Originally Posted by hcl40 View Post
    Thx got it finally
    No problem.
    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: 08-08-2016, 02:57 PM
  2. Form not showing records in table.
    By mbenton in forum Forms
    Replies: 3
    Last Post: 06-14-2016, 09:18 PM
  3. Replies: 2
    Last Post: 11-12-2015, 02:36 AM
  4. Replies: 5
    Last Post: 10-27-2011, 10:25 AM
  5. Replies: 1
    Last Post: 03-09-2011, 02:04 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