cancel
Showing results for 
Search instead for 
Did you mean: 

How to view crystal reports from UDO in add-on

Former Member
0 Kudos

Hi,

I want to show a crystal report from a UDO when the user clicks on the Preview button.

I read all the topics that can be found on the web, everyone says I should handle LayoutKeyEvent

so my Code is:

private void Application_LayoutKeyEvent(ref LayoutKeyInfo eventInfo, out bool BubbleEvent)

{

BubbleEvent = true;

eventInfo.LayoutKey = "123";

}

I also set the report layout and everything before.

So the problem is, that it still asks for parameter.

The appropriate crystal report opens up, but I have to manually enter the parameter (the ID of my object) which is not so user friendly.

Any ideas why it doesn't work for me?

9.20.180 PL.: 08

Accepted Solutions (0)

Answers (0)