I loaded the CodeBuilder-RasConnectionInfo project and built it after a few changes to get it to compile.
There is one section that I need to find the data dynamically as all of my (hundreds) of reports with have different Table.Name values.
boReportDocument.ReportClientDocument.DatabaseController.SetTableLocation(boTables(0), boTable)
boTable.Name = "rpClientManager"
boTable.QualifiedName = "rpClientManager"
boTable.Alias = "rpClientManager"
Do we need to pass back in these names? In my case the report was already connected to a mdb with these table names.
I left these names in but it fails on the first call of
boReportDocument.ReportClientDocument.DatabaseController.SetTableLocation(boTables(0), boTable)
message returned is
"Logon failed. Error in File cln_default 3196_5408_{9830D1A3-61A7-4DAD-BF60-8394891FECC7}.rpt: Unable to connect: incorrect log on parameters."