Yes,I tried this but it still won't refresh any data in the query.The query
criteria is set Like "11/*/2005".Could this be part of the problem
> > I have mutiple queries set up to manipulate a single table different
> > ways.When I update my table it is not reflected when I run my query,why?
[quoted text clipped - 9 lines]
> -- Vincent Johns <vjohns@alumni.caltech.edu>
> Please feel free to quote anything I say here.
John Spencer - 24 Nov 2005 13:29 GMT
If you are using a DATE field then I suggest you change the criteria to
Between #11/1/2005# and #11/30/2005#
Using a wild card string on a date field can give you unexpected results.
An alternate solution would be to force a formatted string and set the criteria
against that.
Field: MonthYear: Format(YourDateField,"mm/dd/yyyy")
Criteria: Like "11/*/2005"
> Yes,I tried this but it still won't refresh any data in the query.The query
> criteria is set Like "11/*/2005".Could this be part of the problem
[quoted text clipped - 12 lines]
> > -- Vincent Johns <vjohns@alumni.caltech.edu>
> > Please feel free to quote anything I say here.
DC Lady - 25 Nov 2005 01:26 GMT
Yes thank you this works better for me.I also had a formatting issue on the
original table that I had inadvertantly changed from a date field to a text
field.
> If you are using a DATE field then I suggest you change the criteria to
> Between #11/1/2005# and #11/30/2005#
[quoted text clipped - 23 lines]
> > > -- Vincent Johns <vjohns@alumni.caltech.edu>
> > > Please feel free to quote anything I say here.
Vincent Johns - 24 Nov 2005 13:59 GMT
> Yes,I tried this but it still won't refresh any data in the query.The query
> criteria is set Like "11/*/2005".Could this be part of the problem
I don't know if it's part of the problem, but your string looks
suspiciously like a date value. If you (for example) are filtering the
dataset for dates in November 2005, you might do that more directly by
comparing the month with November and the year with 2005, or by setting
the criterion to "Between #11/1/2005# And #11/30/2005#". (You might
first have to convert the string to a date via the Datevalue() function.)
-- Vincent Johns <vjohns@alumni.caltech.edu>
Please feel free to quote anything I say here.