" object variable or with block variable not set "

J

Jim Jones

Hello,

I have takent the suggestion to create a tab control to accomodate a
second subform, since form space was an issue in my case.

What I have when you first open the form is the following:

A main form: CustomerData
Subform: CustomerCarData

Then, a subform within CustomerCarData
That subform is Service (now in page 1 of 2 in a tab ctrl)
Page 2 of the tab control is "Details", which has it's own
table, and it's own form.

OK, the Linked fields between the Main form and CustomerCarData are
the CustomerNumber.

The Linked fields between the CustomerCarData subform and its embedded
Service subform is the "UniqueCarId" (example: you can have 100
customers, and that may represent 150 cars total. Each car is given
it's own identifier, regardless if owned by same customer). Likewise
with new Service tickets created No 2 service tickets will have the
sam number.

OK, When I go to click the drop down arrow on the Link/Master fields
on the Service Subform and on the page 2 tab control "Details"
subform, I get the:

Object variable or wirth block variable not set error.

But that's not new. It's been like that on the Service Subform, since
before I put in the new tab control. See, even with that error,
everything works ok, as it always has.

But, I STILL get the related record error, when I try to make an
update to the Details Form (which has its own table).

Can anyone help?

Thanks,
Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top