I apologize, but I'm still inexperienced so bear that in mind. I've looked through the forums and tried some things, but still no luck.
I'm running Access 2010 with an ODBC connection to Sql Server 2008 R2. I have a form for contacts with an address subform. As I scroll through the records in the form, the correct address gets attached to the right person. However, when I go to add a new record, the address part of the subform disappears. In other words, there is no form in the subform. If I go back a record, the form itself and the data return. Previously, I had the problem where the form would show up, but I couldn't add any new data. Does anyone have any ideas?
Here is a pared down version of my tables.
tblContacts - ContactID, PK, int; lastname,nvarchar(50);firstname,nvarchar(50), etc….
tblAddress - AddressID,PK, int; ContactID, FK, AddressLine1,AddressLine2,City, etc...
tluAddressType - AddressTypeID,PK,int; Address Description, nvarchar(25)
For the subform, the source object is sfrmContactAddress - which looks like this in SQL ViewSELECT tblAddress.ContactID AS tblAddress_ContactID, tblAddress.AddressLine1, tblAddress.AddressLine2, tblAddress.City, tblAddress.AddressTypeID AS tblAddress_AddressTypeID, tblContacts.ContactID AS tblContacts_ContactID, tluAddressType.AddressTypeID AS tluAddressType_AddressTypeID, tluAddressType.AddressDescription, tblAddress.AddressID, tblContacts.LastName, tblContacts.Firstname
FROM tblContacts INNER JOIN (tluAddressType INNER JOIN tblAddress ON tluAddressType.[AddressTypeID] = tblAddress.[AddressTypeID]) ON tblContacts.[ContactID] = tblAddress.[ContactID];
My subform container links are shown like this:
Link Master fields tblContacts.ContactID
Link Child Fields - tblAddress_ContactID
Truly, any ideas are greatly appreciated!