Filter Or Populate List Box According to Two Date Fields (1 Viewer)

StanJx

Registered User.
Local time
Today, 08:17
Joined
Apr 5, 2012
Messages
21
Hi, This maybe something simple but I couldn't figure it out yet
. I have a list box with two date columns (EntryDate & RequestedDate). I need the list box to show records according to both dates.

For Example

Entry 1
EntryDate 9/12/2016
RequestedDate 9/13/2016

Entry 2
EntryDate 9/13/2016
RequestedDate 9/13/2016

Entry 3
EntryDate 9/12/2016
RequestedDate 9/12/2016


List box on the 13th should show entries 1 & 2. The list box on the 12th should show 1 & 3..

Would really appreciate your advice.entry
 

MarkK

bit cruncher
Local time
Yesterday, 19:47
Joined
Mar 17, 2004
Messages
8,186
Hi, it's considered bad form, and a violation of our rules, to post the same question in multiple forums. Please select the appropriate forum, and post your question there, once. Thanks in advance,
Mark
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 19:47
Joined
Aug 30, 2003
Messages
36,127
I'd expect a row source of:

SELECT *
FROM TableName
WHERE EntryDate = Date() OR RequestedDate = Date()

or something along those lines.
 

Users who are viewing this thread

Top Bottom