refreshing data displayed from user defined combo box selection

action

Registered User.
Local time
Today, 20:43
Joined
May 29, 2003
Messages
89
I want a form loading data based on what they select from the combo box. I assume I need to add something to the control source sql but unsure how to.

the control source line is currently this:

SELECT QRYDaysofsports.Time FROM QRYDaysofsports WHERE (((QRYDaysofsports.Day)="Monday"));

What can I add so that Comboselectsport is filtering this?

Cheers
 
action,

One way of doing this is to base your form on a query. This query
can have as criteria in the DayOfSports field:

=Forms![YourForm]![YourCombo]

Then on the AfterUpdate of your combo, you can do a Me.Requery and
your form will display the record(s) desired.

Wayne
 

Users who are viewing this thread

Back
Top Bottom