G Guest Nov 29, 2005 #1 I would like for my query to have a criteria of the previous date, not the current date. how do I do this
I would like for my query to have a criteria of the previous date, not the current date. how do I do this
J John Vinson Nov 29, 2005 #3 I would like for my query to have a criteria of the previous date, not the current date. how do I do this Click to expand... If the table field contains just a date with no time portion use a criterion of DateAdd("d", -1, Date()) If it contains both date and time (e.g. if it's filled using the Now() function) use = DateAdd("d", -1, Date()) AND < Date() Click to expand... John W. Vinson[MVP]
I would like for my query to have a criteria of the previous date, not the current date. how do I do this Click to expand... If the table field contains just a date with no time portion use a criterion of DateAdd("d", -1, Date()) If it contains both date and time (e.g. if it's filled using the Now() function) use = DateAdd("d", -1, Date()) AND < Date() Click to expand... John W. Vinson[MVP]