pietlinden@hotmail.com wrote:[color=blue]
> Hey Steve Jorgensen or Lyle,
> can you do this kind of thing in ADO? basically, read a delimited
> textfile into a recordset-type thing (virtual table, essentially) and
> then assign the result as the rowsource for the combobox? I would
> think that you could call it by doing something like
>
> Function CreateList(byval strFileName as string) As ADODB.Recordset
> ... or some such thing.[/color]
Surely the listbox simply translates the "recordset-type thing" to a
string anyway, so why would one translate the string to a recordset first?
Assuming you can read the textfile just set the row source type to
valuelist, and the rowsource to the string. I often do my list and combo
boxes this way even when they are based on a query.
--
--
Lyle
"The aim of those who try to control thought is always the same. They
find one single explanation of the world, one system of thought and
action that will (they believe) cover everything; and then they try to
impose that on all thinking people."
- Gilbert Highet