Hi
I'm running the following line of code from the main form in a combo box on the after update event.
I am trying to change the caption value of a label on a sub form, that is also on a tab control.
The Object Structure is:
Main-form > Sub-Form > Tab-Control > Label
The code is
Forms!frmSnssDb!sfcFinancialYear!tclFinance.Pages!pge0506.Controls.lblCostCode0506.Caption = "LDC"
The error I'm getting is Runtime Error 438 - Object does not support this property or method.
The trouble is I can't figure out which property or method it doesn't like.
Any clues?
Thanks
Zollo A+ / VBA Developer
![[thumbsup] [thumbsup] [thumbsup]](/data/assets/smilies/thumbsup.gif)
I'm running the following line of code from the main form in a combo box on the after update event.
I am trying to change the caption value of a label on a sub form, that is also on a tab control.
The Object Structure is:
Main-form > Sub-Form > Tab-Control > Label
The code is
Forms!frmSnssDb!sfcFinancialYear!tclFinance.Pages!pge0506.Controls.lblCostCode0506.Caption = "LDC"
The error I'm getting is Runtime Error 438 - Object does not support this property or method.
The trouble is I can't figure out which property or method it doesn't like.
Any clues?
Thanks
Zollo A+ / VBA Developer
![[thumbsup] [thumbsup] [thumbsup]](/data/assets/smilies/thumbsup.gif)