Hello All,
I'm new to the tab control. I've placed a tabbed control on my main form and populated it with my subform (which also contains subforms). Now my OnLoad for my main form isn't working. I've looked online on how to reference the subform and it seems simple
subformname.sourceobject
Evidently, I don't know what a sourceobject is because my changes haven't worked.
This is what worked before I added the tab control:
Forms![Neighbors subform]![PKRelationship] = 3
When changing it to
Me.[Neighbors subform].PKRelationship = 3
I get an error message "Neighborhood Database can't find the field "|" referred to in your expression." when my form loads. Any suggestions?
Thanks
I'm new to the tab control. I've placed a tabbed control on my main form and populated it with my subform (which also contains subforms). Now my OnLoad for my main form isn't working. I've looked online on how to reference the subform and it seems simple
subformname.sourceobject
Evidently, I don't know what a sourceobject is because my changes haven't worked.
This is what worked before I added the tab control:
Forms![Neighbors subform]![PKRelationship] = 3
When changing it to
Me.[Neighbors subform].PKRelationship = 3
I get an error message "Neighborhood Database can't find the field "|" referred to in your expression." when my form loads. Any suggestions?
Thanks