Skip to Content
avatar image
Former Member

How can I set the connection properties in a WPF app using ViewerCore

Hi.

I'm trying to set the connection property from a crystal report in a C# WPF app, but so far I haven't been able to find how to do it declaratively.

Could someone please help me?

Thanks.

Michael.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 25, 2017 at 02:30 PM

    Hi Michael,

    You need to add code to your app to set the log on info, the Viewer does not have any. If you simply run the app it will prompt for log on info.

    See the Parameter test app on the download WIKI for examples. It uses the Winform Viewer but done not matter.

    https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

    Don

    Add comment
    10|10000 characters needed characters exceeded