Hi,
Thanks for your response. I didn't quite try your solution seeing as I
need to connect to a SQL Server DB. However, I found a couple of
things that work for me. AFter using SetLogonInfo, set the table
location for each table to its fully qualified name. ie.
For all tables in the report
dbTable.SetLogOnInfo TheServer, TheDB, "<User_ID>", "<PWD>"
dbTable.Location = TheDB & "<Table_Owner>" & dbTable.Name
where dbTable is a reference to a table in the report and Table_Owner
is the owner of that table e.g. "dbo".
The other thing you can do is to set the "Overridden Qualified Table
Name" property for all tables in your report from the Crystal REports
designer. Select the Database | Set Database Location menu and expand
the table name in the treeview to get this property.
After almost giving up on this issue (and thinking of asking for a
refund from Business Objects), I almost feel like a fool.
You live, you learn. I hope other guys can benefit from my experience.
Timothy.
> I'm using
> Visual Basic 6
[quoted text clipped - 30 lines]
> Me.Show vbModal
> End Sub