Hey all...I have a form which includes a retailer address and a Vendor address, a week beginning field and week ending field,(as well as a Autonumber field that is the primary key)
I have a subform which shows the details of items the vendor has sold to the retailer for that week. Of course I need to link the 2 together, however there will be times when the date range will be the same for different vendors, the vendor will be for several retailers, etc...so I created a field labeled "SubformID" as a Number in the subform. I set the control source of the "subformID" to "=[Forms]![frmInventoryListing]![MyID]"
(The primary key)
I thought this would work, but when I go to enter data into the subform, I get an error which states that "Access cannot assign a value to this object. It may be read-only, in a form that is open in design view, or the value is to large for the field." Do you know what may be he problem??
Thanks!
I have a subform which shows the details of items the vendor has sold to the retailer for that week. Of course I need to link the 2 together, however there will be times when the date range will be the same for different vendors, the vendor will be for several retailers, etc...so I created a field labeled "SubformID" as a Number in the subform. I set the control source of the "subformID" to "=[Forms]![frmInventoryListing]![MyID]"
(The primary key)
I thought this would work, but when I go to enter data into the subform, I get an error which states that "Access cannot assign a value to this object. It may be read-only, in a form that is open in design view, or the value is to large for the field." Do you know what may be he problem??
Thanks!