How programatically load a listbox ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I programaticaly load entries into a listbox

Or, is it better to create a temporary table and use that as a rowsource?
 
How can I programaticaly load entries into a listbox?

Using some event:
ListBoxName.RowSource = "Some SQL Statement Here;"
Or, is it better to create a temporary table and use that as a rowsource?

Probably not! But who can respond to this with any certainty?
You haven't given any indication of what the rowsource is supposed to
be, or anything else about what you are trying to do.
 
David said:
How can I programaticaly load entries into a listbox?

Or, is it better to create a temporary table and use that as a rowsource?

Dim TextValueToAdd as String

Ac2K:

ListBox.RowSource = ListBox.RowSource & ";" & TextValueToAdd

Ac2002> :

List1.AddItem TextValueToAdd
 
Back
Top