D
DocBrown
Using techniques from earching these posts, I'm REALLY close to getting this
working... Hopefully there's a solution to the 'last' part? It looks like I
need a solution to what's been termed the 'messy problem' with this.
I have a combo box on a continuous form. The list values to be displayed are
dependent on another field. I have a Row Source Query that gets the values I
want. When the form is displayed, only the first record has a value
displayed. In all other rows the cbox is blank. If I click in the blank
record, the correct value is displayed and the other goes blank. Apparently,
the messy part is how to get a value displayed on ALL the records.
Here's details:
ComboBox: Focus_Box
Control Source: VolunteerID
Row Source Query:
SELECT VolunteerFocus.VolunteerID, FocusList.VolunteerFocus
FROM FocusList INNER JOIN VolunteerFocus ON FocusList.TypeID =
VolunteerFocus.TypeID
WHERE (((VolunteerFocus.VolunteerID)=[Forms]![Search Query
Prompts]![VolunteerID_Box]));
The Forms OnCurrent and VolunteerID_Box AfterUpdate events has in [Event
Procedure]:
Me.Focus_Box.Requery
Any direction is greatly appreciated.
John S.
working... Hopefully there's a solution to the 'last' part? It looks like I
need a solution to what's been termed the 'messy problem' with this.
I have a combo box on a continuous form. The list values to be displayed are
dependent on another field. I have a Row Source Query that gets the values I
want. When the form is displayed, only the first record has a value
displayed. In all other rows the cbox is blank. If I click in the blank
record, the correct value is displayed and the other goes blank. Apparently,
the messy part is how to get a value displayed on ALL the records.
Here's details:
ComboBox: Focus_Box
Control Source: VolunteerID
Row Source Query:
SELECT VolunteerFocus.VolunteerID, FocusList.VolunteerFocus
FROM FocusList INNER JOIN VolunteerFocus ON FocusList.TypeID =
VolunteerFocus.TypeID
WHERE (((VolunteerFocus.VolunteerID)=[Forms]![Search Query
Prompts]![VolunteerID_Box]));
The Forms OnCurrent and VolunteerID_Box AfterUpdate events has in [Event
Procedure]:
Me.Focus_Box.Requery
Any direction is greatly appreciated.
John S.