Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Visual Basic 6 - Invalid Data Source in Data Report

869 views
Skip to first unread message

M.@discussions.microsoft.com Amit M.

unread,
Jan 23, 2008, 1:10:01 PM1/23/08
to
I am using Visual Basic 6 to create an application. When I run a report that
I have created from DataReport on my PC, it works fine. When I run the same
report on a different PC, it gives an error message 'Invalid Data Souce'.
The PC it produces the reports for have VB6 installed on them. The one's
that get an error messsage, do not have VB6 installed. I have searched the
Web and have tried all suggestions, but none of them work.

The way I am connecting is:

DataEnvironment1.Connection1.ConnectionString = App.Path &
"\Database\SIM_db.mdb"

The datareports are pointing to the DataEnvironemnt1 as the DataSource and
the DataMemeber as the table witin Access.

Thank you, in advance, for your time and help in this matter.

argusy

unread,
Jan 23, 2008, 4:22:29 PM1/23/08
to
Where are you setting the datasource and datamember - programmatically or within
the datareport design settings?

Amit M.

unread,
Jan 23, 2008, 4:51:01 PM1/23/08
to

"argusy" wrote:

I am setting it within the datareport design settings.

epa

unread,
May 15, 2008, 3:21:01 AM5/15/08
to

epa

unread,
May 15, 2008, 3:24:00 AM5/15/08
to
0 new messages