
Run time + Data Environment (VB6)
Hi,
I have a project that I am working on that produces a report. This is a
standard data report that is bound to a data environment. This works very
well..................
The problem I have is when a user closes the current database and opens a
different database, this requires the data environment to have the data
source changed to reflect the new database. When I try to do this by
setting the connectionstring property I have several problems about closed
objects, etc
Can anyone advise on the correct procedure for changing the data source at
run time? I get the feeling that all of the data environment properties may
need to be updated?
Thanks,
M Shaw.