Chris.Casey Posted March 9, 2006 Posted March 9, 2006 Hi,I have designed an Access Database which has 2 date fields.I want to create a query which compares date 1 with date 2 and reports if there is more than 1 day difference between them.Can anyone help me with this?Thanks
Scooter513 Posted March 28, 2006 Posted March 28, 2006 (edited) The following information is based on a Table with 2 date fields of Start and EndCreate an expression in your query by typing the following informaiton in the field of a blank columnAbs([start]-[end])and then list a Criteria of >1 for that fieldHope this helpsNote:I used Start and End dates for the example, but had added the Abs funciton to reture the Absolute Value of the formula, which would allow the start date to be before or after the end date, enabling it to have a 1 day difference in either direction. Edited March 29, 2006 by Scooter513
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now