Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Parameters statement

$
0
0

Hi,

Because I need to use crViewer_ClickPage event, I need to change from Crystal Reports Basic for VS2008 to SAP Crystal Reports, version for MS Visual Studio. (Find on SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads.)

Since I have installing 13.0.7.1136 that is SP7 (Support pack), i need to assign twice the reportsource if I want parameter take effect immediatly !

No change in the report was done...

Only reference to CrystalDecisions Dlls 13.0.2000.0 version instead of 10.35.3700.0.

 

    Dim MonEtat As New Etat_Stock_RACK

 

    MonEtat.SetParameterValue(MonEtat.Parameter_Zone.ParameterFieldName, gsZModele)

    MonEtat.SetParameterValue(MonEtat.Parameter_Allee.ParameterFieldName, cmbAllee.Text)

    MonEtat.SetParameterValue(MonEtat.Parameter_CTQUI.ParameterFieldName, CTQui)

    MonEtat.SummaryInfo.ReportTitle = "ETAT du STOCK RACK ZONE " & gsZModele

    With crViewer

      .EnableDrillDown = False

      .ReportSource = MonEtat ' BUG avec CR V13, il faut appeler 2x pour prendre les paramètres

      .ReportSource = MonEtat

    End With


Viewing all articles
Browse latest Browse all 3636

Trending Articles