By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,426 Members | 3,407 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,426 IT Pros & Developers. It's quick & easy.

Refresh datalist contents

P: n/a
I want to use a connection to an existing MS Access database, but I want
to be able to change which table is used to fill the datalist, using
VB6, at run time by late binding the datalist to the table. Using
either an ADO connection or an ADODC control, I can fill the datalist OK
the first time, but when I try to clear it and fill it from another
table, the contents of the datalist do not change. I must be doing
something really dumb here, but I can't figure it out. Any help would
be appreciated.

TIA,

Martin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
There are some people here who use (or used to use) VB, in addition to
Access, but it's primarily devoted to the Access product, not to all users
of Jet databases. This question would definitely have a better chance of
getting a good answer if asked in a Visual Basic newsgroup... USENET
newsgroups comp.lang.basic.visual.misc and comp.lang.basic.visual.database
are two; there are other sponsored newsgroups at news.microsoft.com (a free
news server).

I'm even having some difficulty remembering what a "datalist" is -- do you
mean a List Box Control?

Larry Linson
Microsoft Access MVP


"Martin Wulfe" <su**************@yahoo.com> wrote in message
news:3f*********************@news.frii.net...
I want to use a connection to an existing MS Access database, but I want
to be able to change which table is used to fill the datalist, using
VB6, at run time by late binding the datalist to the table. Using
either an ADO connection or an ADODC control, I can fill the datalist OK
the first time, but when I try to clear it and fill it from another
table, the contents of the datalist do not change. I must be doing
something really dumb here, but I can't figure it out. Any help would
be appreciated.

TIA,

Martin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #2

P: n/a
Larry -

Thanks for the quick response. No, the datalist is a separate control,
in MSDATLST.OCX. I will try the other groups.

Martin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.