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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How to change ListBox RowSource programatically 1
Listbox Quandry 2
Saving items in listbox 5
Listbox Selecting 6
Field Attributes?? 1
AddNew but I Don't See the New Record 9
Setting Form Rowsource 1
Empty listbox 1

Back
Top