D
Deborah
I am trying to add a new record to a table. While all of
the other data will come from boxes on my subform, I need
to add the PubID which is coming from my main form. I have
saved the PubID value in a variable "PidOverall". I have
tried tblMain1.PubId = PidOverall and also
tblMain1.PubID.Value = PidOverall. The message box that
pops up simply says "Object required" (no error message
424, etc) When I F8 through the code when I get to that
line it looks like this - tblMain1.PubID = <Object
required> and then drops down into the error part of the
code. What object does it want?
Deborah
the other data will come from boxes on my subform, I need
to add the PubID which is coming from my main form. I have
saved the PubID value in a variable "PidOverall". I have
tried tblMain1.PubId = PidOverall and also
tblMain1.PubID.Value = PidOverall. The message box that
pops up simply says "Object required" (no error message
424, etc) When I F8 through the code when I get to that
line it looks like this - tblMain1.PubID = <Object
required> and then drops down into the error part of the
code. What object does it want?
Deborah