Having a problem using Impromptu (version 7.1). The database used in creating reports is always the last one used. Trying to control the database to be used. In VB.NET, using OpenCatalog, coding:
------------------
Dim ImpromptuApplication As Object
Dim ImpromptuReport As Object
Dim connectionString As String
ImpromptuApplication = CreateObject("Impromptu.Application")
'following line doesn't change the database used
ImpromptuApplication.OpenCatalog("C:\catalog.cat", "myuserclass", "myuserclasspw", "myDBuser", "myDBpassword")
connectionString="user id=myuser;data source=mydatasource;persist security info=True;initial catalog=mycatalog;password=mypassword"
ImpromptuApplication.SetDBConnection(connectionString)
ImpromptuReport=ImpromptuApplication.OpenReport("c:\myreport.imr", "xx|yy")
ImpromptuReport.RetrieveAll()
etc
------------------
Can't understand how to switch the database being used programmatically.
Any help gratefully received
Thanks