Results 1 to 7 of 7
  1. #1
    gumbi17's Avatar
    gumbi17 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Location
    Houston, Tx
    Posts
    19

    Subform not filling in info in table


    I have a database which has been in production for quite a few years, it even made the swap from .mdb and .accdb without losing any of the functionality. Well I just had to export from access to new access to start a new file for one of our projects and now one of the subforms is not adding information into the table. The way the subform functions is it feeds information to the table Lease Tracts, at the same time it has another table Xrf Property Tracts Leases (I didn't pick the name and it drives me nuts too!) When a user starts to add information into the subform the table lease tracts generates an auto number "tracref" which it adds onto the line where the user is inputting the rest of their information. The relationship is set as all alike between xrf and lease tracts to input in both tables, well the xrf lease num1 is being filled in by the master/child setting but the lease num1 on the lease tract is the only field not autofilling. I have been pulling my hair out on this one, and i have gone through every setting to ensure it was the same and all relationships are set the same! Help!Click image for larger version. 

Name:	Capture2.JPG 
Views:	5 
Size:	74.9 KB 
ID:	11596Click image for larger version. 

Name:	Capture1.JPG 
Views:	5 
Size:	145.4 KB 
ID:	11597Click image for larger version. 

Name:	Capture.JPG 
Views:	5 
Size:	44.9 KB 
ID:	11598Click image for larger version. 

Name:	Capture3.JPG 
Views:	6 
Size:	30.2 KB 
ID:	11599

  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
    Hard to analyse from pictures. If you want to provide db, follow instructions at bottom of my post.
    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
    gumbi17's Avatar
    gumbi17 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Location
    Houston, Tx
    Posts
    19
    OK I extracted out a lot of the forms that have nothing to do with this problem and get it down to the 2mb requirement!

  4. #4
    gumbi17's Avatar
    gumbi17 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Location
    Houston, Tx
    Posts
    19
    Here it is!
    Attached Files Attached Files

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    First thing I see is the Property Num combobox on [LINKS99 LEASE BASIC TRACTS SUBFORM QUERY] form has No Such Field error. But I doubt this contributes to issue.

    I don't see how this form could ever have worked as you describe. Forms can enter data to only one table. The primary recordset for the query the subform is bound to is [Xrf Properties, Tracts, Leases] not [Lease Tracts]. This is indicated by the join type 'Include all records from Xrf Properties ...' This form is setup to create a new record in [Xrf Properties, Tracts, Leases]. This form has a combobox to select a TractRef value but this will not generate a new TractRef value in [Lease Tracts] table. This subform does not and should not and cannot feed data into table [Lease Tracts].
    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.

  6. #6
    gumbi17's Avatar
    gumbi17 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Location
    Houston, Tx
    Posts
    19
    So what would I need to do to have it start updating onto the Lease Tracts? As well as keeping the relationship with the Xrf Prop! I will have to go back to one of the older one and condense it so you can see what it was doing.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Explore the NotInList event of combobox. If desired tract record not in the TractRef combobox, open form to enter new tract record, the combobox list will update and record available for selection.
    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. filling table
    By janco in forum Queries
    Replies: 2
    Last Post: 07-24-2011, 09:16 AM
  2. Replies: 3
    Last Post: 01-31-2011, 11:47 AM
  3. Filling a table from a checklist
    By mr.wizzard in forum Access
    Replies: 3
    Last Post: 06-19-2010, 09:40 AM
  4. Replies: 1
    Last Post: 10-20-2009, 02:05 PM
  5. Filling in a table via a form
    By janjan_376 in forum Forms
    Replies: 1
    Last Post: 07-06-2009, 01: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