Re: Filtering problem
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Sat, 24 May 2008 16:24:44 -0400
You seem to be missing quotes at the beginning and end of the string.
Try:
="Uren.Datum > " &
Format(Forms![Uur_overzicht]!Start_dat,'\#yyyy\-mm\-dd\#') & " And
Uren.Datum < " & Format(Forms![Uur_overzicht]!Stop_dat,'\#yyyy\-mm\-dd\#)
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Jean-Paul" <jp.dewinter@xxxxxxxxxx> wrote in message
news:94ZZj.3689$zc6.3585@xxxxxxxxxxxxxxxx
I changed the line in filter-propertie to:
=Uren.Datum > #" & Format(Forms![Uur_overzicht]!Start_dat,'yyyy/mm/dd') &
"# And Uren.Datum < #" &
Format(Forms![Uur_overzicht]!Stop_dat,'yyyy/mm/dd') & "#
When the table is run, All records are displayed.
When I click the filter icon I get the errormessage saying there is an
operator missing in the query-expression.
What do I do to filter upon opening the form
What do I do about the eroormessage
Thank you so much
JP
Douglas J. Steele wrote:
Your dates are NOT "stored as dd/mm/yyyy". You may choose to display the
dates in dd/mm/yyyy format, but that has no bearing on how they're
stored.
Dates are eight byte floating point numbers, where the integer portion
represents the date as the number of days relative to 30 Dec, 1899, and
the decimal portion represents the time as a fraction of a day.
Read the two references which I cited.
.
- Follow-Ups:
- Re: Filtering problem
- From: Jean-Paul
- Re: Filtering problem
- References:
- Filtering problem
- From: Jean-Paul
- Re: Filtering problem
- From: Douglas J. Steele
- Re: Filtering problem
- From: Jean-Paul
- Re: Filtering problem
- From: Douglas J. Steele
- Re: Filtering problem
- From: Jean-Paul
- Filtering problem
- Prev by Date: Re: Combination box
- Next by Date: Re: Display photo/picture
- Previous by thread: Re: Filtering problem
- Next by thread: Re: Filtering problem
- Index(es):
Relevant Pages
|