A
Antonio`
I have a report that displays attendance codes for
department personnel. When the report executes it prompts
for the employee id and then displays any dates and
associated attendance codes for that employee. This
report runs on the assumption that any date not on the
report indicates a regular day off or a normal worked day
for the employee. I would like to create a report footer
section that contains a group of individual text boxes
that display the attendance code when an entry exists for
a particular day, and are empty when no entry exists. But
I am having problems incerting and expression that will
allow for this.
Example:
Employee Group Section:
EmployeeID - BOB
Report Detail:
[Date] [AttendanceCode]
1/3/2003 T
1/6/2003 I
Report Footer:
txtjan1: " " (blank)
txtjan2: " " (blank)
txtjan3: T
txtjan4: " " (blank)
txtjan5: " " (blank)
txtjan6: I
etc...
The idea is to create a calendar made of several text
boxes that only display the attendance code if the txt
box expression specifies a record containing a specific
date. I thought I could use =IIf([Date]="1/1/2003",
[AttendanceCode], " ") for text box Jan1, =IIf([Date]
="1/2/2003",[AttendanceCode], " ") for text box Jan2,
etc...but it doesn't work and I really dont know what to
do. I would really really appreciate any suggestions or
help anyone could give...
department personnel. When the report executes it prompts
for the employee id and then displays any dates and
associated attendance codes for that employee. This
report runs on the assumption that any date not on the
report indicates a regular day off or a normal worked day
for the employee. I would like to create a report footer
section that contains a group of individual text boxes
that display the attendance code when an entry exists for
a particular day, and are empty when no entry exists. But
I am having problems incerting and expression that will
allow for this.
Example:
Employee Group Section:
EmployeeID - BOB
Report Detail:
[Date] [AttendanceCode]
1/3/2003 T
1/6/2003 I
Report Footer:
txtjan1: " " (blank)
txtjan2: " " (blank)
txtjan3: T
txtjan4: " " (blank)
txtjan5: " " (blank)
txtjan6: I
etc...
The idea is to create a calendar made of several text
boxes that only display the attendance code if the txt
box expression specifies a record containing a specific
date. I thought I could use =IIf([Date]="1/1/2003",
[AttendanceCode], " ") for text box Jan1, =IIf([Date]
="1/2/2003",[AttendanceCode], " ") for text box Jan2,
etc...but it doesn't work and I really dont know what to
do. I would really really appreciate any suggestions or
help anyone could give...