Dear all,
My problem is the following...
I have a report which calculates how many days it takes to respond to a letter.
We have a reception date field: RCPTND
We have an acknowledgement date field: ACKNMD
I then have a textbox which I have named:TtlAckDays
This textbox (TtlAckDays) calculates the time taken by this code:
I now want to count the number of instances the reponses have been sent out within 7 days.
I have another textbox: NoWithin7Days to count the number of instances the reponses have been sent out within 7 days.
This is textbox: NoWithin7Days code:
As you can see from the above I am trying to call the value within the textbox: TtlAckDays and use it to count the number of responses, responded to within 7 days.
I run the report and get asked to input TtlAckDays...
Why is this??
Can I pull values from other textboxes?
Should I rather create a new field in the query?
I would prefer to do it within the report though.
Any help will be greatly appreciated
Kind regards
Triacona
My problem is the following...
I have a report which calculates how many days it takes to respond to a letter.
We have a reception date field: RCPTND
We have an acknowledgement date field: ACKNMD
I then have a textbox which I have named:TtlAckDays
This textbox (TtlAckDays) calculates the time taken by this code:
Code:
=[ACKNMD]-[RCPTND]
I now want to count the number of instances the reponses have been sent out within 7 days.
I have another textbox: NoWithin7Days to count the number of instances the reponses have been sent out within 7 days.
This is textbox: NoWithin7Days code:
Code:
=Count(IIf([TtlAckDays]<=7,0))
As you can see from the above I am trying to call the value within the textbox: TtlAckDays and use it to count the number of responses, responded to within 7 days.
I run the report and get asked to input TtlAckDays...
Why is this??
Can I pull values from other textboxes?
Should I rather create a new field in the query?
I would prefer to do it within the report though.
Any help will be greatly appreciated
Kind regards
Triacona