Re: 6 Months Due
- From: John Vinson <jvinson@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 20:41:13 -0700
On Tue, 30 Jan 2007 18:37:00 -0800, blink
<blink@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
"John Vinson" wrote:
BETWEEN DateSerial(Year(Date()), Month(Date()), 1) AND
DateSerial(Year(Date()), Month(Date()) + 1, 0)
I have added the code to the "DateAdd("m", 6, [Date Start])" and it is very
close to what I am looking for. My result is a -1 for the true fields and 0
for false. How would you filter it to show only the true results? In other
words I have 'DateEntry' + 6 months and expires this month?
I'm sorry, you haven't mentioned any yes/no fields before, and I have
no idea how your table is structured.
You can put a criterion of either True or -1 on a yes/no field in a
query to select records where the field is true.
Could you open your query in SQL view and copy and paste the SQL to a
message here? Perhps it would also help to describe the structure of
your table.
John W. Vinson[MVP]
.
- References:
- Re: 6 Months Due
- From: John Vinson
- Re: 6 Months Due
- Prev by Date: Re: Convert text to number
- Next by Date: Re: In([variable])
- Previous by thread: Re: 6 Months Due
- Next by thread: Re: 6 Months Due
- Index(es):
Relevant Pages
|
|