G
Guest
I have a form with a subform. The form holds job info, the subform holds
tool info. When creating a record for a new job, the user should be able to
type in a tool number in the subform and, if a record for that tool number
already exists, the remaining fields in the subform are populated with info
from that record. If there is not a record for that tool number that already
exists, the user can enter the new data and create the record for it. My
problem is this: When i try to add a new job number and then click in the
ToolNum field to enter a tool number, I get the error "You tried to assign
the NULL value to a variable that is not a Variant data type." I have seen
this error, as I have searched for an answer before posting. But what I'm
finding is that most of the time this question seems to pertain to combo
boxes and occurs after something is entered and then deleted. That is not
the case with my issue.
Anyone have any suggestions for me as to how to fix this?
Would be much appreciated.
Thank you!!
Seren
tool info. When creating a record for a new job, the user should be able to
type in a tool number in the subform and, if a record for that tool number
already exists, the remaining fields in the subform are populated with info
from that record. If there is not a record for that tool number that already
exists, the user can enter the new data and create the record for it. My
problem is this: When i try to add a new job number and then click in the
ToolNum field to enter a tool number, I get the error "You tried to assign
the NULL value to a variable that is not a Variant data type." I have seen
this error, as I have searched for an answer before posting. But what I'm
finding is that most of the time this question seems to pertain to combo
boxes and occurs after something is entered and then deleted. That is not
the case with my issue.
Anyone have any suggestions for me as to how to fix this?
Would be much appreciated.
Thank you!!
Seren