J
Jeff @ CI
In A2K. On a form, the user enters contact data for people registering to
attend an event. On the form is a combo box (#2) that lists the events to be
chosen from - this combo box has an event already listed based upon a master
list of registerees and is pulled from a combo box (#1) of events. The
second combo box (#2) is used for when a person wants to switch events.
The problem I have is with a third combo box in which I list a presenter's
name. I have used the following to narrow the presenter list available for
the combo box to just the presenter associated with event:
SELECT [Speaker] FROM SpeakerQuery WHERE
[SpeakerQuery].[Event]=[Forms]![ContactMain].[Event];
The goal is to have the presenter's name automatically populate this field.
The purpose is to track - by registeree - performance measures on the
presenter. I have tried to set the default value to the same statement above
and tried to use the ItemData() in this area to have the name fill the combo
box. I get an error that says I need to use parentheses in the expression.
The second combo box above uses a simple =[Forms]![ContactMain].[Event] to
autopopulate the box. Using =[Queries]![SpeakerQuery].[Speaker] gives me a
name? error in the combo box.
Any other ideas?
TIA
Jeff
attend an event. On the form is a combo box (#2) that lists the events to be
chosen from - this combo box has an event already listed based upon a master
list of registerees and is pulled from a combo box (#1) of events. The
second combo box (#2) is used for when a person wants to switch events.
The problem I have is with a third combo box in which I list a presenter's
name. I have used the following to narrow the presenter list available for
the combo box to just the presenter associated with event:
SELECT [Speaker] FROM SpeakerQuery WHERE
[SpeakerQuery].[Event]=[Forms]![ContactMain].[Event];
The goal is to have the presenter's name automatically populate this field.
The purpose is to track - by registeree - performance measures on the
presenter. I have tried to set the default value to the same statement above
and tried to use the ItemData() in this area to have the name fill the combo
box. I get an error that says I need to use parentheses in the expression.
The second combo box above uses a simple =[Forms]![ContactMain].[Event] to
autopopulate the box. Using =[Queries]![SpeakerQuery].[Speaker] gives me a
name? error in the combo box.
Any other ideas?
TIA
Jeff