crisis2007
Technical User
I am trying to carry over values from a list box that is on another form. The first column (Bound column) is the RosterNumber and the second column has the date. I have the following code in the OnDirty event of the current form:
txtRosterNumber = Forms!F_MainNorth.List88.Value
txtAttendanceDate = Forms!F_MainNorth.List88.Value.Column(2)
The first value carries over fine. The second, which is a date does not. I am thinking I have two problems - the reference to the value in the second column of the ListBox and the format to pass a date. I am having problems finding a solution.
txtRosterNumber = Forms!F_MainNorth.List88.Value
txtAttendanceDate = Forms!F_MainNorth.List88.Value.Column(2)
The first value carries over fine. The second, which is a date does not. I am thinking I have two problems - the reference to the value in the second column of the ListBox and the format to pass a date. I am having problems finding a solution.