MS Access 2007 reference subform control on tabbed control returning null -
i have subform reference returning null textbox has value in it. code using is:
end date: [forms]![reportcentre]![navigationsubform].[form]![txtenddate]
this in tabbed control, not find .pages property referred in similar question.
the subform being referenced [lodform], , tab control (page area) [navigationsubform]
why returning null?
the subform belongs form, not tab control. tab control hides/displays other controls. , reference subform control, not subform. thus:
end date: [forms]![reportcentre]![nameofyoursubformcontrol].[form]![txtenddate]
inserted name of subform control:
end date: [forms]![reportcentre]![navigationsubform].[form]![txtenddate]
Comments
Post a Comment