I'm using Access 2010.
Explanation of tables:
tblCACs = the workers
tblConReq (consult requests) = main table that serves to supply a main form
tblConReq_CPRSStaff = serves to supply as a subform to main form
tblConReq_MedRecs = same as above
tblConReq_QualMang = same as above
tblConReqJunction = supposed to show which workers have which consult requests
My relationships = tblConReq has foreign keys for tblConReq_CPRSStaff, tblConReq_MedRecs, & tblConReq_QualMang.
tblConReqJunction has a foreign key for tblCACs & tblConReq.
***
The workflow idea is this: a user has a request & fills out a main form (based on tblConReq). After the request is submitted, three other departments fill in their own piece (subforms based off of tblConReq_CPRSStaff, tblConReq_MedRecs, & tblConReq_QualMang). I need to see which worker is assigned to which request (tblConReqJunction is supposed to tell me this).
I've built the forms & subforms for each piece. The first part of a user submitting a request works, but when I try to edit the record for one of the subforms, I get the following error message:
"You tried to assign the Null value to a variable that is not a Variant data type."
Pressing escape allows the value to be filled in though. Are my relationships broken? Is the fact that a record being created with the three subforms initially blank causing the problem?
Explanation of tables:
tblCACs = the workers
tblConReq (consult requests) = main table that serves to supply a main form
tblConReq_CPRSStaff = serves to supply as a subform to main form
tblConReq_MedRecs = same as above
tblConReq_QualMang = same as above
tblConReqJunction = supposed to show which workers have which consult requests
My relationships = tblConReq has foreign keys for tblConReq_CPRSStaff, tblConReq_MedRecs, & tblConReq_QualMang.
tblConReqJunction has a foreign key for tblCACs & tblConReq.
***
The workflow idea is this: a user has a request & fills out a main form (based on tblConReq). After the request is submitted, three other departments fill in their own piece (subforms based off of tblConReq_CPRSStaff, tblConReq_MedRecs, & tblConReq_QualMang). I need to see which worker is assigned to which request (tblConReqJunction is supposed to tell me this).
I've built the forms & subforms for each piece. The first part of a user submitting a request works, but when I try to edit the record for one of the subforms, I get the following error message:
"You tried to assign the Null value to a variable that is not a Variant data type."
Pressing escape allows the value to be filled in though. Are my relationships broken? Is the fact that a record being created with the three subforms initially blank causing the problem?