I've got CRXI that I'm using in a VB6 app - linking to a database. I just ran into a problem when I moved the application directory and the reports lost their links to the database and complained that they weren't logged in. I reset the connection but got to thinking this could cause a problem for my end users should they move anything. Is there a way to set the database location in code when I call the report?

Also, my app changes data quite a bit requiring a refresh of the report pretty often. Is there a way to do this with code so things are up to date on the report when it's opened? To be more clear ... if I open the report, close it and then open it again after some information has changed, the original data is still visible. If I press the reset button it is updated. I would like to programmatically refresh the data rather than force the user to do it.

TIA
Ken