A
Andy
Hi guys
I am trying to dynamically add items to a combo box on a form and
display the results to the user. (Access 2003, XP)
I have the combo type set to 'Value List'.
When I add the value to the rowsource and requery, the combo on the
form remains blank and does not display the entries.
I am appending an ";" to the list to create a delimited string.
Here is the code I am using. This code is part of a loop to
dynamically build a list of items in the combo.
varListDetail = RSt!Country & " (" & RSt!CountryCode & ")
Me!cmbResult.RowSource = Me!cmbResult.RowSource & ";" & varListDetail
Me!cmbResult.Requery
Any thoughts mush appreciated.
Thanks...Andrew
Bendigo, Australia
I am trying to dynamically add items to a combo box on a form and
display the results to the user. (Access 2003, XP)
I have the combo type set to 'Value List'.
When I add the value to the rowsource and requery, the combo on the
form remains blank and does not display the entries.
I am appending an ";" to the list to create a delimited string.
Here is the code I am using. This code is part of a loop to
dynamically build a list of items in the combo.
varListDetail = RSt!Country & " (" & RSt!CountryCode & ")
Me!cmbResult.RowSource = Me!cmbResult.RowSource & ";" & varListDetail
Me!cmbResult.Requery
Any thoughts mush appreciated.
Thanks...Andrew
Bendigo, Australia