BlueJacket
Registered User.
- Local time
- Today, 18:30
- Joined
- Jan 11, 2017
- Messages
- 92
I keep getting the "Control can't be edited, it is bound to an Autonumber field" error whenever I try to link a PropertyID to a new case.
I have a main form where I'm creating a new case for my Quiet Title table (tblQuietTitle). The user inputs the new case number and assigns an attorney and judge. I also have a datasheet subform that I want to link each property that is involved in that case. A property will only ever be assigned to one case, but one case can encompass multiple properties. I have a CaseNumber field in my Property Details table (tblProperties) to link the two tables.
Parent form query:
Subform query:
Attached is the layout of my (basic, uncompleted) form. I feel like I'm running into this error because I'm going about this wrong and I need to be pointed in the right direction. I could create a new table that links the CaseNumber to PropertyID, but that doesn't seem quite right either...
Thanks in advance.
I have a main form where I'm creating a new case for my Quiet Title table (tblQuietTitle). The user inputs the new case number and assigns an attorney and judge. I also have a datasheet subform that I want to link each property that is involved in that case. A property will only ever be assigned to one case, but one case can encompass multiple properties. I have a CaseNumber field in my Property Details table (tblProperties) to link the two tables.
Parent form query:
Code:
SELECT tblQuietTitle.CaseNumber, tblPropertyDetails.PropertyID, tblPropertyDetails.ClientID, tblQuietTitle.JudgeID, tblQuietTitle.AttorneyID
FROM tblQuietTitle LEFT JOIN tblPropertyDetails ON tblQuietTitle.CaseNumber = tblPropertyDetails.CaseNumber;
Subform query:
Code:
SELECT tblPropertyDetails.PropertyID, tblPropertyDetails.CaseNumber
FROM tblQuietTitle LEFT JOIN tblPropertyDetails ON tblQuietTitle.CaseNumber = tblPropertyDetails.CaseNumber;
Attached is the layout of my (basic, uncompleted) form. I feel like I'm running into this error because I'm going about this wrong and I need to be pointed in the right direction. I could create a new table that links the CaseNumber to PropertyID, but that doesn't seem quite right either...
Thanks in advance.