G
Guest
I am trying to develop a form which contains 12 labels and text boxes for
MonthYear combinations which I would like to derive based on a starting
month/year entered by the user. The form contains labels(lblMonth1 -12) and
text boxes (txtMonth1-12)
I have a loop to increment a counter(b) and the InMonth and InYear values
that I would like to assign as variables i.e.
Forms!frmInput!lblMonth&b.ControlSource = InMonth & " " & InYear
Forms!frmInput!txtMonth&b.ControlSource = InMonth & " " & InYear
I've played around and can not come up with the proper syntax. Any help you
can offer will be greatly appreciated.
Thanks,
Ron
MonthYear combinations which I would like to derive based on a starting
month/year entered by the user. The form contains labels(lblMonth1 -12) and
text boxes (txtMonth1-12)
I have a loop to increment a counter(b) and the InMonth and InYear values
that I would like to assign as variables i.e.
Forms!frmInput!lblMonth&b.ControlSource = InMonth & " " & InYear
Forms!frmInput!txtMonth&b.ControlSource = InMonth & " " & InYear
I've played around and can not come up with the proper syntax. Any help you
can offer will be greatly appreciated.
Thanks,
Ron