>object.setlogoninfo dllname, servername, databasename, userid, password
Jim,
You are looking at the syntax for the automation server, not the RDC object model. Check the help doc for Report Designer database tables object version of that method. You will find that the first parameter is the DSN name and that would be all you'd need.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer