sheilasabado
New member
- Local time
- Today, 04:16
- Joined
- Jun 14, 2010
- Messages
- 3
I have a table with [Call Start] as Date/Time General Date which has data from March 30, 2010 until May 9, 2010. I want to create a query wherein I can get a date range from user given starting and ending date from a Form (GenForm):
User enters ff value in GenForm:
StartDate = 07-Apr-10
EndDate = 09-May-10
This is my query in MS Access Design View
Field: Format([Call Start],"Short Date")
-----------------------------------------------------------------
Criteria: Between Format([Forms]![GenForm]![StartDate], "Short Date") And Format([Forms]![GenForm]![EndDate], "Short Date")
-------------------------------------------------------------------
Result: It gives me data only for Apr 7, April 8, April 9, May 7, May 8 and May 9.
I think it only looks at the days of the date and not the entire date. Anyone can help me, please?
User enters ff value in GenForm:
StartDate = 07-Apr-10
EndDate = 09-May-10
This is my query in MS Access Design View
Field: Format([Call Start],"Short Date")
-----------------------------------------------------------------
Criteria: Between Format([Forms]![GenForm]![StartDate], "Short Date") And Format([Forms]![GenForm]![EndDate], "Short Date")
-------------------------------------------------------------------
Result: It gives me data only for Apr 7, April 8, April 9, May 7, May 8 and May 9.
I think it only looks at the days of the date and not the entire date. Anyone can help me, please?