Martin Dempsey
Technical User
hi, I'm struggling with a query that I think should be easy, hoping to get some help. I have a table with a date/time field. I need to query this field for a specific date and all records <= 9aM AND all records >= 9PM. When I use the following criteria it works, >=#03/26/2018# and <=#03/26/2018 09:00:00 AM# or >=#03/26/2018 09:00:00 PM# and #03/27/2018#. What I want to do is get away from this hard coding of the date portion and select a field name Text111 on my form named frm_form_update.
Any help will be truly appreciated.
thanks
Martin
Any help will be truly appreciated.
thanks
Martin