Membership Expired

P

Paul

I want a query which will display those dates that
expired last month and beyond.

The query shows the members ID, name and surname and
expiry date.

< Date() - only shows the expiry dates before present

What I do want is to display those dates that expired
last month and before that - in a real life example -
December and further ie '< todays month'

I tried < month(date()) - never worked

Thankx

Paul
 
S

SteveS

Paul,

If I understand, you want to find all [expiry date] in the previous
month and earlier. Which really means any date less than (earlier than)
the first of the current month.

In the criteria row of the [expiry date] column enter:

< DateSerial(Year(Date()),Month(Date()),1)

In a real life example, the query will find all expiry dates less than
1/1/2004, ie 12/31/2003 and earlier.

HTH

Steve
 

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

Similar Threads

Membership Expired 1
Problem with "IF" function 9
Data Entry Form. 3
Query the same table three times 0
Advanced expiry date calculations 7
Send a reminder letter 1
Exipry Date 1
Expiry Date Query 1

Top