G
Guest
I have a combo box that is based off of a date and time field.
it is used for selecting all entries from that particular day.
in the Row source, i'm looking for just distinct dates, not dates and times.
i.e. i may have an entry at 10:25 am, 10:55 AM, 12:13 PM, 1:38PM etc from
June 5th 2007, but i would need just the date of June 5th 2007 to show up
once in the combobox.
Then in the VBA code, how would i just use the date from the date/time field?
would that be something like (Date)[DateAndTimeField}?
thanks
it is used for selecting all entries from that particular day.
in the Row source, i'm looking for just distinct dates, not dates and times.
i.e. i may have an entry at 10:25 am, 10:55 AM, 12:13 PM, 1:38PM etc from
June 5th 2007, but i would need just the date of June 5th 2007 to show up
once in the combobox.
Then in the VBA code, how would i just use the date from the date/time field?
would that be something like (Date)[DateAndTimeField}?
thanks