tonymerseyfire
Technical User
Hi,
I am trying to query a Date Field, which refers to a Last Visit Date carried out by a Fire Crew at a premise, the format of the date field is 29/07/2009.
Most records will have a Last Visit Date, but some will not and contain a “-“, which is the character used for a blank date value in the database.
I would like any help to find out how many records there are in the database that have a Date that is greater than 5 years old from the current date; so firstly I need a formula to identify those records with a Last Visit Date greater than 5 years old, and then be able to insert a count on how many of those records there are greater than 5 years old into the reports footer.
The report is dynamic as it will be changing daily with new records being added, and the report will not be ran just once it will be ran on an ad hoc weekly basis so a formula that can calculate the 5 year difference from the current date, rather than having to enter the current date each time the report is ran would be ideal.
Any help much appreciated!
Thanks.
I am trying to query a Date Field, which refers to a Last Visit Date carried out by a Fire Crew at a premise, the format of the date field is 29/07/2009.
Most records will have a Last Visit Date, but some will not and contain a “-“, which is the character used for a blank date value in the database.
I would like any help to find out how many records there are in the database that have a Date that is greater than 5 years old from the current date; so firstly I need a formula to identify those records with a Last Visit Date greater than 5 years old, and then be able to insert a count on how many of those records there are greater than 5 years old into the reports footer.
The report is dynamic as it will be changing daily with new records being added, and the report will not be ran just once it will be ran on an ad hoc weekly basis so a formula that can calculate the 5 year difference from the current date, rather than having to enter the current date each time the report is ran would be ideal.
Any help much appreciated!
Thanks.