I like to populate the listbox with data wich is generated from Windows
directory information, i can not use the SQL format, unless I first create a
table with the data generated.
Is there not such a thing as:-
me.lstFiles.AddItem.Column(0) = stgName
me.lstFiles.AddItem.Column(1) = stgSize
me.lstFiles.AddItem.Column(2) = stgDate
or
me.lstFiles.AddItem = stgName; stgSize; stgDate (more or less like the value
list)
Because of this method, which I hope to get working, I need to clear the
list before I add newly generated data (in case a file was added or removed
from the directory).
Unfortunatly I am not able to find the rightious method for this.
Thx, for any directions given.
Ludovic
PJFry said:
Private Sub On_Some_Event()
Me.ListBoxName.RowSource = "SQL Statement"
End Sub
When do you need to set the list to blank?-