Basing form recordsource on a class module

C

Charlie Genge

Hi,

I'm afraid this is a bit of a wishy washy question:
I have lots of data stored in various XML files for which I have written
code (SAX) to interrogate the data and store it in class modules (as
scripting.dictionaries). I takes a bit too long to write all of this data
into a table so I was wondering whether it would be possible to have the
recordsource (or the datasource of controls on the form) to be the data
stored in the dictionaries in the class module?

Thanks very much and I hope that is relatively clear!!

Charlie
 
S

Stefan Hoffmann

hi Charlie,

Charlie said:
I have lots of data stored in various XML files for which I have written
code (SAX) to interrogate the data and store it in class modules (as
scripting.dictionaries). I takes a bit too long to write all of this data
into a table so I was wondering whether it would be possible to have the
recordsource (or the datasource of controls on the form) to be the data
stored in the dictionaries in the class module?
I'm sure there is not interface like IRecordset. So no, you can't.

Maybe it is sufficent to fill a ListBox/ComboBox:

http://www.fontstuff.com/VBA/vbatut10pfv.htm


mfG
--> stefan <--
 

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

Top