DateDiff

B

bdehning

I have a report with the following: =DateDiff("d",[Call Date],[Rpt Date])
which shows me the number of days between the two dates located in Text Box
with name text29 for many records.

If in this report I now want to count the number of times that this
difference is more than 10 days in a footer is it possible and how do I do
it.???
 
B

bdehning

Ok That worked Great.

Now if I want to calculate the % of Those more than 10 days what do I do.

My query only contains the total number and you helped with the field for
those more than 10. How do I get a field for total query records?

I assume 2 fields from query..
--
Brian


Al Camp said:
In the query behind the form, create a calculated field like this...
Over10 : IIF(DateDiff("d",[Call Date],[Rpt Date])>10,1,0)
Then sum Over10 in any footer.
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

bdehning said:
I have a report with the following: =DateDiff("d",[Call Date],[Rpt Date])
which shows me the number of days between the two dates located in Text
Box
with name text29 for many records.

If in this report I now want to count the number of times that this
difference is more than 10 days in a footer is it possible and how do I
do
it.???
 
B

bdehning

I got it all to work. Thanks for the help
--
Brian


bdehning said:
Ok That worked Great.

Now if I want to calculate the % of Those more than 10 days what do I do.

My query only contains the total number and you helped with the field for
those more than 10. How do I get a field for total query records?

I assume 2 fields from query..
--
Brian


Al Camp said:
In the query behind the form, create a calculated field like this...
Over10 : IIF(DateDiff("d",[Call Date],[Rpt Date])>10,1,0)
Then sum Over10 in any footer.
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

bdehning said:
I have a report with the following: =DateDiff("d",[Call Date],[Rpt Date])
which shows me the number of days between the two dates located in Text
Box
with name text29 for many records.

If in this report I now want to count the number of times that this
difference is more than 10 days in a footer is it possible and how do I
do
it.???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top