Results 1 to 10 of 10
  1. #1
    Bob Newingham is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    5

    Problems with Subform on TabControl

    Access 2003 - I have a

    • multi-user database with a front & back end.
    • Table 1 and Table 2 with a 1 to Many relationship


      • Table 1 is the '1' / Table 2 is the Many
      • The relationship is based on an autonumber field 'client#'
      • Table 2 has a default value set for each field

    • Main form bound to Table 1
    • Subform on Tabcontrol bound to Table 2
      • Subform consists of 7 dropdown boxes
      • Each field is autopopulated from the table BUT
        • the dropdown is linked to a table with choices



    Everything normally works fine...but on occasion-(with no rhyme or reason that I can discern) as I scroll through the records I will land on a record and the fields in the subform will be blank (When I know the linked table contains data, and the dropdown does not show any choices.
    If I scroll to the next record it might be OK...but when I go back to the previous record...Issue is still there. If I close the database and reopen - everything works fine...THis is driving me crazy - Any thoughts or guidance

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It sounds like you are dealing with a screen updating issue. Are you using Lookup Fields by chance? http://www.mvps.org/access/lookupfields.htm

  3. #3
    thhui is offline Competent Performer
    Windows XP Access 2002
    Join Date
    Feb 2009
    Posts
    235
    Could you post your db in mdb 2000 format for testing?

  4. #4
    Bob Newingham is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    5
    Quote Originally Posted by RuralGuy View Post
    It sounds like you are dealing with a screen updating issue. Are you using Lookup Fields by chance? http://www.mvps.org/access/lookupfields.htm
    The table is not using look-up fields - BUT the fields on the sub-form are using look-up fields that are linked to a table that contains choices for the fields. I read Evils of Lookup Fields in Tables...but am not sure how to solve the problem.

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    ComboBoxes on forms that do Lookup's is fine, just not at the table level: http://www.btabdevelopment.com/ts/removelookups

  6. #6
    Bob Newingham is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    5
    I have double checked the the look-ups are at the form level...Any other thoughts as to what my problem might be?

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Can you reliably create the issue on a specific record?

  8. #8
    Bob Newingham is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    5
    that is part of my problem in tracking this down...it only happens occasionally and on different records...

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I'm out of ideas short of looking at the actual system. Even then as you say it is not predictable then tracking it down could be tough. A troubleshooting technique might be to Debug.Print the LinkChildField and LinkMasterField and maybe you will see why the SubForm is blank. That usually means no corresponding match in those two fields.

  10. #10
    Bob Newingham is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    5
    Thanks for the input...I will close this for now...will continue to look for patterns of behavior in the database....Maybe I will find something that will finally make sense...

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

Similar Threads

  1. Pass Subform filter to subform in report
    By camftm in forum Programming
    Replies: 16
    Last Post: 07-19-2011, 07:12 AM
  2. Tabcontrol and SubForm
    By zhshqzyc in forum Forms
    Replies: 1
    Last Post: 01-21-2011, 03:54 PM
  3. Replies: 15
    Last Post: 11-09-2010, 04:27 PM
  4. Problems with subform refresh
    By Viggen66 in forum Queries
    Replies: 2
    Last Post: 02-23-2010, 04:07 AM
  5. Replies: 4
    Last Post: 01-11-2010, 11:41 PM

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