Crystal Report Integrate with Navision Attain 3.70

Dear All, I’m trying to create a crystal report 10 version of navision report. So is there any one having the experience to call out the crystal report in Navision Attain and pass the parameter within it… Best Regards, Ken

Hi Ken, have you searched this forum for Crystal Reports? There should be some hints. Use the Automation-Server of Crystal Reports. In your Crytsal Reports Directory you will find helpfiles with examples. They are in VB or C++ but very helpfull. Greetings, Frank

Hi Frank, I have no problems to accessing the data from navision… What I whise to have now is in the navision report is it any place where I can call the Crystal report. i.e. when I click on the navision report how i can link it straight to the Crystal Report? If we use the hyperlink or url how should we put it in the report coding? Thanks & Best Regards, Ken

quote:


Originally posted by FPulsfort
Hi Ken, have you searched this forum for Crystal Reports? There should be some hints. Use the Automation-Server of Crystal Reports. In your Crytsal Reports Directory you will find helpfiles with examples. They are in VB or C++ but very helpfull. Greetings, Frank


Hi Frank, It will useful it you could share the sample codes for passing parameters from Navision form to Crystal report. I am stuck with the parameter passing part.which i have remarked by //. below is the sample C/AL code for Crystal integration . CrystalReport.Reset ; CrystalReport.ReportFileName := ‘D:\Temp\Report.rpt’ ; CrystalReport.WindowTitle := ‘D:\Temp\Report.rpt’ ; //CrystalReport.ParameterFields(0) := ‘FROMVEND;1200; True’ ; //CrystalReport.ParameterFields(SHORT index[, BSTR ParameterFields]) CrystalReport.WindowControls := TRUE ; CrystalReport.WindowShowGroupTree := FALSE ; CrystalReport.WindowShowSearchBtn := TRUE ; CrystalReport.WindowState := 2 ; CrystalReport.Action := 1 ; KC