Results 1 to 2 of 2
  1. #1
    Stan Denman is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    50

    Form Subform Data Input problems

    I have a form with a subform linked with the client's ID number. The subform is for the client address. When I view and scroll through records in the main form, I see the subform record move to the correct address for the client. But I have a number clients for whom I have not entered an address. when I try to do so in the subform I get this error:

    "the Link Masterfields property setting produced this error: 'the object doesn't contain the Automation object 'tblCont'. The latter is a basis for the main form where the main form source is the following SQL:

    SELECT tblCont.*, tblClients.*, [FirstName] & " " & [LastName] AS Name, tblCont.ContTypeID FROM tblCont INNER JOIN tblClients ON tblCont.ContID = tblClients.ContID
    WHERE (((tblCont.ContTypeID)=1));



    the subform source is:
    SELECT trelContAddr.*, tblAddr.*
    FROM tblAddr INNER JOIN trelContAddr ON tblAddr.AddrID = trelContAddr.AddrID;

    I'm really stumped.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,960
    Why are the RecordSources using INNER JOIN queries?

    If you want to provide db for analysis, 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.

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

Similar Threads

  1. Subform / Main Form problems...
    By aceoftrades in forum Forms
    Replies: 4
    Last Post: 03-18-2012, 10:39 AM
  2. Replies: 13
    Last Post: 02-26-2012, 08:28 AM
  3. Replies: 1
    Last Post: 11-07-2010, 11:04 AM
  4. Replies: 2
    Last Post: 06-17-2010, 04:15 PM
  5. Replies: 1
    Last Post: 06-14-2010, 02:31 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