MsLady
Traumatized by Access
- Local time
- Today, 04:48
- Joined
- Jun 14, 2004
- Messages
- 438
PLEASE HELP: Report-Calendar of Events
I am creating a calendar of events.
the fields in my table includes
Date
TimeStart
TimeEnd
EventDescription
I want events to display by the day of the week.
I have customized columns headers for Monday, Tuesday, Wednesday... etc. even though i don't have fields that says for them.
I want the events on Monday to display on the textbox i designated for monday (i.e under the monday column). Tuesday likewise.. and so on.
Please note that i only have the date field... that accepts (e.g 06/14/04)
i don't have fields for dayofweek. I have tried sorting by day but it doesn't produce the result i want.
Is there a way that i can program that if [date] is Monday, display on this textbox and blah blah.
I put this on my control source: It doesn't work.
=IIf((Format([Date],"dddd",0)="Monday"),[EventDescription],"")
I thot with this, i might get the "dayofweek" from formatting the date, ...and if [date] is monday.. display EventDescription. but then, i get "#Error".
Please help me.
I am creating a calendar of events.
the fields in my table includes
Date
TimeStart
TimeEnd
EventDescription
I want events to display by the day of the week.
I have customized columns headers for Monday, Tuesday, Wednesday... etc. even though i don't have fields that says for them.
I want the events on Monday to display on the textbox i designated for monday (i.e under the monday column). Tuesday likewise.. and so on.
Please note that i only have the date field... that accepts (e.g 06/14/04)
i don't have fields for dayofweek. I have tried sorting by day but it doesn't produce the result i want.
Is there a way that i can program that if [date] is Monday, display on this textbox and blah blah.
I put this on my control source: It doesn't work.
=IIf((Format([Date],"dddd",0)="Monday"),[EventDescription],"")
I thot with this, i might get the "dayofweek" from formatting the date, ...and if [date] is monday.. display EventDescription. but then, i get "#Error".

Please help me.

Last edited: