between/and didn't work either.
> When I query only with a starting date, I get everything from that date
> forward. When I query to/from, I get no error and a blank datasheet. I've
[quoted text clipped - 24 lines]
> > > this
> > > format, isn't it?
JLamb - 20 May 2005 21:07 GMT
Are your end date months 10,11, or 12? Because they will technically be <
09, 08, etc. if this is a text field.
I am assuming that End Date and Start Date are parameters you enter when you
run the query.
Also why don't you actually convert this field to an actual date field?
> between/and didn't work either.
>
[quoted text clipped - 26 lines]
> > > > this
> > > > format, isn't it?
Jackie - 21 May 2005 01:52 GMT
Ok, here's where I show my ignorance ... how do I convert a field formatted
as 20050512 to a date field?
> Are your end date months 10,11, or 12? Because they will technically be <
> 09, 08, etc. if this is a text field.
[quoted text clipped - 34 lines]
> > > > > this
> > > > > format, isn't it?
Jeff Boyce - 20 May 2005 22:42 GMT
A couple other thoughts. You may have to set the type of the parameters in
the query.
And, as implied else-thread, your "dates" may be date/times.
What happens if you hard code a date range into your query criteria? Do you
get the records you expect?
Also, I just re-read what you're doing. If you have a text or number field
with 20050505, that is NOT, as far as Access knows, a date. If your query
is asking the user to supply a date, you are comparing apples and chainsaws.
Good luck
Jeff Boyce
<Access MVP>
> between/and didn't work either.
>
[quoted text clipped - 5 lines]
>>
>> > Jackie
Jackie - 21 May 2005 03:41 GMT
Got it ... =DateSerial(Left([FieldName, 4), Mid(FieldName, 5, 2),
Right(FieldName, 2)). Thanks for your help.
> A couple other thoughts. You may have to set the type of the parameters in
> the query.
[quoted text clipped - 22 lines]
> >>
> >> > Jackie