JenniferF
09-12-2000, 07:12 AM
I have a form in which I need to calculate the Current Month (i.e. Sep). I've done this by creating a text box with the following two properties -
Control Source is "=Now()"
Format is "mmm"
I did this on a test form and it worked perfectly.
However, I also need to filter some records. That is the reason I added a Current Month text box.
When my users open the form, I want them to only see records from the previous month. I wrote If... Then...ElseIf statements for the OpenForm property.
But when I go to look at the form I get a run time error 2448, which means that the value cannot be set.
Does anyone have any suggestions for me as to work around this error or another way that I can see the previous month's records.
Thanks!
Jenn
Control Source is "=Now()"
Format is "mmm"
I did this on a test form and it worked perfectly.
However, I also need to filter some records. That is the reason I added a Current Month text box.
When my users open the form, I want them to only see records from the previous month. I wrote If... Then...ElseIf statements for the OpenForm property.
But when I go to look at the form I get a run time error 2448, which means that the value cannot be set.
Does anyone have any suggestions for me as to work around this error or another way that I can see the previous month's records.
Thanks!
Jenn