Y
Yvette T
I am trying to have automatically adjusting columns of reports and forms
representing times spans.
I would like for a text box to "read" a label and then show the field that
it reads.
In a table, field names represent years, so [2006], [2007], [2008], etc.
I would like for a text box to read the label "2006" and display the field
[2006].
I wrote this but it did not work:
Function LabelField(LName As String) As Field
'this is used to look at a column heading and extract the correct year for
the form/report
LabelField = LName
End Function
Please help and thank you!
representing times spans.
I would like for a text box to "read" a label and then show the field that
it reads.
In a table, field names represent years, so [2006], [2007], [2008], etc.
I would like for a text box to read the label "2006" and display the field
[2006].
I wrote this but it did not work:
Function LabelField(LName As String) As Field
'this is used to look at a column heading and extract the correct year for
the form/report
LabelField = LName
End Function
Please help and thank you!