Hi
I have written a DataReport in VB6 that I am now running from another PC.
I get the message "Invalid data source" - there is no RTE or any other information.
I am using a DataEnvironment, etc, at design time to link to a local database to give me the fields to design the report, but then overwriting the relevant information in VB code at runtime i.e.
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & gsDatabaselocation$ & "\Televet.mdb" & ";User Id=admin;Password=;"
I've tested it locally against databases in a different location to the design time location.
The databases to be used are Access 97 and 2K. The failing PC is running Vista, but I haven't had chance to test on an independant XP machine yet.
Thanks in advance
I have written a DataReport in VB6 that I am now running from another PC.
I get the message "Invalid data source" - there is no RTE or any other information.
I am using a DataEnvironment, etc, at design time to link to a local database to give me the fields to design the report, but then overwriting the relevant information in VB code at runtime i.e.
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & gsDatabaselocation$ & "\Televet.mdb" & ";User Id=admin;Password=;"
I've tested it locally against databases in a different location to the design time location.
The databases to be used are Access 97 and 2K. The failing PC is running Vista, but I haven't had chance to test on an independant XP machine yet.
Thanks in advance