Skip to Content
avatar image
Former Member

How to view crystal reports from UDO in add-on

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers