How To Change Connection Parameters? 关注



I encountered the following problem with reports written in Bartender.
I am writing an application that needs to print a report provided by the customer. The reports takes data via an ODBC connection. The application must replace the user name, password and a user data source in a report. How can I do this with BarTender ActiveX API ?
I am currently using version BarTender version 10.0

1 评论

Ian Cummings
评论操作 固定链接

It's not possible to change the database connection settings via automation. You can specify the credentials, set and SQL statement or set a query prompt criteria value, but not configure a new connection. See the BarTender HELP system as we have a full reference on what is possible.