Without the double backslashes.
You can iterate through the tables and setlogoninfo for each. I cant remember the exact syntax but its on the Forums. Try a quick search.VB Code:
oReport.Application.LogOnServer "P2SODBC.DLL", "server1", "db1.mdb", "administrator", "2005" oReport.Database.Tables(1).SetLogOnInfo "server1", "db1.mdb", "administrator", "2005"![]()




Reply With Quote