It can't be done because you probably don't need to do it. You don't need any VB code to change the location. Once you connect your report to a ttx file, the ttx file becomes part of your report. You could delete the ttx file, and it wouldn't make any difference, your report would still run.
The problem is that when my app is published on a Citrix server (in a different directory), the reports are created correctly but won't print :-(.
Only after manually setting the position of the .TTX file they'll print...
I don't know how you can get around that. A few months ago, I've asked Seagate if it was possible to set the location of a ttx file at runtime, and their answer was no...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.