Microsoft
Software
Hardware
Network
Question : subform field linker error: "object variable or With block variable not set"
I have a problem similar to a previously posted question in 2003 ( id: 20799795), but I have not found a working solution.
In short, I have three tables tblA, tblB, and tblC.
tblA and tblB have a defined one to one relationship. tblB and tblC are related as one (tblB) to many (tblC) relationship.
I have created a frmA, fsubA, fsubB, fsubC.
frmA and fsubA use the same record source: tblA. (the purpose of this is to allow another level of Tab Control within a specific page on the top level Tab Control in frmA).
fsubA has a nested subform fsubB, which uses the record source of tblB.
fsubB in turn has a nested subform fsubC, which uses the record source tblC.
the PROBLEM arises when I try to define the subform linker field in fsubC, which I get the error message dialog "object variable or With block variable not set".
this problem only occurs when I do this from frmA. HOWEVER, even if I successfully define it from within the subforms (fsubA or fsubB). fsubC is not still not linked when I open frmA (the records are not linked/filtered and all records in tblC are shown).
what is wrong with this and how do I solve it?
I appreciate your help and expertise!
Answer : subform field linker error: "object variable or With block variable not set"
Actually the linker works if you manually type in the field names in the property window, it's just the linker wizard not working when it is beyond the 3rd level in subforms.
Random Solutions
Microsoft Outlook XP 2002
Why is the Remote Install Tab not showing up in the active directory after I install RIS on a server?
Open a form going to a specific record based on an ID in subform
SQL Sorting Issue
Trigger for INSERT, UPDATE, DELETE - determine which event happened within the trigger?
How Can I forward email from a mailbox to a distribution list in exchange 2003 using a forwarder?
SSIS insert primary key - there must be a way
SQL Query - displaying latest entry per user
Run a PowerPoint Tutorial Before User Log In
XL Placing a value in an empty Cell with a Visual Basic Rprogram.