johndoomed
12-20-2007, 06:35 AM
Hi,
I'm making a timemanagmentsystem. In this system there is a form that the displays the current week. With a subform for each day (I use the same subform, and set the SQL from the mainform). On each of these subforms there is a "new"-botton, for creating a new listing. I need to refer to a textfield containing a date. There are one of these textfields for each day of the week.
On the subforms, I get the number of day in the week (My english teacher would be proud of that sentence :-p), and I want to refer to the textbox containing the dates (On the mainform).
The textboxes with dates, are named: day1, day2, day3, etc.. I want to be able to refer to them with the numbervariable. Like:
StrDate = Me.Parent.Day & StrDayNumber
I'm making a timemanagmentsystem. In this system there is a form that the displays the current week. With a subform for each day (I use the same subform, and set the SQL from the mainform). On each of these subforms there is a "new"-botton, for creating a new listing. I need to refer to a textfield containing a date. There are one of these textfields for each day of the week.
On the subforms, I get the number of day in the week (My english teacher would be proud of that sentence :-p), and I want to refer to the textbox containing the dates (On the mainform).
The textboxes with dates, are named: day1, day2, day3, etc.. I want to be able to refer to them with the numbervariable. Like:
StrDate = Me.Parent.Day & StrDayNumber