Without the double backslashes.
VB Code:
  1. oReport.Application.LogOnServer "P2SODBC.DLL", "server1", "db1.mdb", "administrator", "2005"
  2. oReport.Database.Tables(1).SetLogOnInfo "server1", "db1.mdb", "administrator", "2005"
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.