Good afternoon everyone,
So I'm having an issue with a subform populating records. I want it to populate all the orders for whichever date is selected on the main form.
However, it doesn't pull up all of the records. I've been able to deduce that it's the format of the date. I have the date stored on the query it's pulling from as DateTime. However, on the combobox, I'm obviously not going to have datetime as a dropdown. So I used:
So this does display the dates that orders were placed in the combobox.
However, in the subform, records only appear if it's in mm/dd/yyyy format. If it includes the time, the records are not displayed.
What do I need to do to include those other records?
I've attached some pictures to better display what I'm saying.
Thanks in advance for any help.
So I'm having an issue with a subform populating records. I want it to populate all the orders for whichever date is selected on the main form.
However, it doesn't pull up all of the records. I've been able to deduce that it's the format of the date. I have the date stored on the query it's pulling from as DateTime. However, on the combobox, I'm obviously not going to have datetime as a dropdown. So I used:
Code:
SELECT DISTINCT DateValue([qryDispensedOrders].[OrderDate]) AS OrderDate
FROM qryDispensedOrders;
So this does display the dates that orders were placed in the combobox.
However, in the subform, records only appear if it's in mm/dd/yyyy format. If it includes the time, the records are not displayed.
What do I need to do to include those other records?
I've attached some pictures to better display what I'm saying.
Thanks in advance for any help.