G
Guest
This code is in a form written first. Everything is in Access 2003
Private Sub lblTodaysTotals_Click()
txtTodaysTotals.Value = GetDaysTotals(txtSessionDate.Value, Form)
End Sub
The error message variable not defined (txtTodaysTotals) returned when I
attempt to execute the function GetDaysTotals(). It looks like this:
The form with some other stuff that does not matter and the part that does
matter is:
A label "Todays Totals" with a text box after it to hold a currency value.
When in design mode the text box is visible. When in form mode it does not
appear at all. Where did it go for one thing. The other thing is when I click
the label ( I have a click function for this ) (The GetTodaysTotals above) I
pass a valid date range and Form to thr function. To look at it it seems to
be quite simple, but I am at a complete loss. Any help would be much
appreciated.
Bart
Private Sub lblTodaysTotals_Click()
txtTodaysTotals.Value = GetDaysTotals(txtSessionDate.Value, Form)
End Sub
The error message variable not defined (txtTodaysTotals) returned when I
attempt to execute the function GetDaysTotals(). It looks like this:
The form with some other stuff that does not matter and the part that does
matter is:
A label "Todays Totals" with a text box after it to hold a currency value.
When in design mode the text box is visible. When in form mode it does not
appear at all. Where did it go for one thing. The other thing is when I click
the label ( I have a click function for this ) (The GetTodaysTotals above) I
pass a valid date range and Form to thr function. To look at it it seems to
be quite simple, but I am at a complete loss. Any help would be much
appreciated.
Bart