Start Crystal Report from code
SeKo
Hi,I would like to start a Crystal Report and fill in the parameter by clicking on a button (eg, on the Item Master Data form I would like to have a button which shows a Crystal Report in which I fill in the requested parameter and show the result).
Is this possible with Coresuite, and how can I do this?
tnx!
Sebastiaan
Michael Egloff
Hello Sebastiaan,I don't know exactly if Crystal Report is supporting it. Is it possible to start a crystal report from the console?
SeKo
Hi Michael,I've got a solution through our support contract. This is the line of code that works for us:
LayoutHelper.LayoutOpener.ExecutePrintDef("U0000057", LayoutHelper.LayoutOpener.OpenLayoutModes.Preview, "ItemCod@", TextEdit.GetFromUID(pVal.Form,"5").Value);
U0000057 = the printdefinition
Daniel Gesk
Hello Sebastian,
for me it´s not clear how the printdefinition Looks like. It is possible to you to send some screenshots? Thank you for your help!
0
Please sign in to leave a comment.
Comments
0 comments