Selecting records by Date

gear

Registered User.
Local time
Today, 11:07
Joined
Mar 10, 2007
Messages
112
I created a personal database for keeping track of my meeting schedules. My table has Date field, Time field and Subject field. I have made several entries. On a given day, I have several meetings at different times.

I created a combo box in my form to choose the Date and see that day’s meetings. The meetings list of the date chosen by combo box should appear in my form. But here I think I made a mistake. Each record has date, time and subject. When I click the combo box, the drop down list shows the same date many times (as I have entered the same date but different time and subject for each record). How do I make the combo box display the date only once and not same date several times? Do I have to change the table set up? Please guide me.
 
You can add the word DISTINCT in the Row Source property of the combo box i.e.

Select DISTINCT [DateFieldName] from [TableName]

^
 

Users who are viewing this thread

Back
Top Bottom