Results 1 to 2 of 2
  1. #1
    ermcc is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    6

    subform not working


    First let me explain what I am trying to do:
    1. I have a combo box with CustomerID and several other fields in a table called Customer.
    2. I also have several records with the same CustomerID but with other fields in a table called Complaints.
    3. I would like to select the CustomerID from the combo box, and have all the records from Complaints show in a subform.
    4. Then I would like to select the Complaint and populate several fields on different tabs within the same form.
    Note: All the Complaint information is on the Complaint table.

    I tried using a combo box in my main form to run a query that creates a table with specific information from the complaint table.
    This is working perfectly. Every time I select a different item from the combo box it automatically updates the table with all the records.

    The problem is, if I try to insert the subform back into the existing form, when I change the combo box, I get an error "The database engine could not lock table 'combobox' because it is already in use by another person or process."

    Will this work or am I going about this all wrong?

    Thank you...

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Not familiar with that error. Want to provide db for analysis? Follow instructions at bottom of my post. Identify which forms are involved in the issue.
    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.

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

Similar Threads

  1. Subform not working
    By aceoftrades in forum Forms
    Replies: 9
    Last Post: 03-09-2012, 03:06 PM
  2. Audit trail not working on form with subform
    By jpkeller55 in forum Access
    Replies: 52
    Last Post: 01-07-2011, 12:39 PM
  3. OpenForm in subform not working
    By eyuen in forum Forms
    Replies: 3
    Last Post: 11-10-2010, 12:03 PM
  4. Filter command not working for subform
    By yes sir in forum Access
    Replies: 15
    Last Post: 10-15-2010, 10:06 PM
  5. Replies: 1
    Last Post: 09-28-2009, 05:21 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