Results 1 to 3 of 3
  1. #1
    IncidentalProgrammer is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2014
    Location
    Texas
    Posts
    156

    Subform won't automatically fill.

    Hi, all!

    I have a form that's supposed to be analyzing account/policy data. On it, there is a subform that shows some specific data about the insurance policy, itself. I have a field in the subform, and one in the main form for the policy number, and they are linked as master/child. However, under no circumstances can I get the subform to fill based on the main form; it simply picks one record, and runs with it.



    I have tried VBA to pass the value from the master to the child or to requery whenever the master field updates, and nothing works. Can anyone think of what could be stopping it from updating? I have another form where this same sort of setup is working perfectly.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    The policy number is primary key in main table?

    If you want to provide db for analysis ...
    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
    IncidentalProgrammer is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2014
    Location
    Texas
    Posts
    156
    You always know how to fix it! It was not the primary key.

    Thanks once again, June7!

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

Similar Threads

  1. Replies: 9
    Last Post: 09-01-2014, 02:27 PM
  2. Replies: 3
    Last Post: 02-21-2014, 11:36 AM
  3. Automatically fill in field in a loop
    By RachelBedi in forum Forms
    Replies: 3
    Last Post: 10-24-2012, 12:40 PM
  4. Replies: 4
    Last Post: 02-13-2012, 05:49 PM
  5. Replies: 7
    Last Post: 06-14-2011, 10:37 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