Need help with a query formula

J

Joe Cilinceon

Here is some background first. I have a paidthru date say it is always the
last day of a month. Now I want to setup a formula in a query that will give
me the 10th day of the current month and compare it with the paid thru date.
Now if the paid thru date is say 12/31/04 and it is 1/10/05 I want the query
to add a late fee to the account. This is a balance due query.

At the moment I have a module setup that does the first and last days of a
given month based on the DateSerial. How would I set a dateserial to the
10th of a month.
 
P

PC Datasheet

To get the 10th of the current month:
DateSerial(Year(Date()),Month(Date()),10)
 
J

Joe Cilinceon

Thanks

Joe Cilinceon

PC Datasheet said:
To get the 10th of the current month:
DateSerial(Year(Date()),Month(Date()),10)


--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
(e-mail address removed)
www.pcdatasheet.com
 

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