Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: Incomplete data shown in crystal report Post Reply Post New Topic
Author Message
yasinirshad
Newbie
Newbie
Avatar

Joined: 24 Sep 2007
Location: Saudi Arabia
Online Status: Offline
Posts: 39
Quote yasinirshad Replybullet Topic: Incomplete data shown in crystal report
    Posted: 08 Oct 2008 at 4:23am

Hi,
I have an application on which i have 5 crystal reports (asp.net 2003) to be shown on seperate web pages.
3 reports work fine ,  but other 2 reports shows incomplete information...

For example :
If there are 5 rows in report, only 3 rows are shown. Other 2 rows are not shown , else shown with wrong values.
i.e.,
row   Total
1      10
2      10
3      10
4      10
5      10

On my web application it shows as,
row   Total
1 10
2 10
3 10

I dont know why this is happening (with only 2 reports)...
Can anyone pls help me on this..
my code:


Dim crReportDocument As New ReportDocument
            Dim ConnInfo As New ConnectionInfo
            With ConnInfo
                .ServerName = StrReportServer
                .DatabaseName = strReportDBName
                .UserID = strUsrName
                .Password = strUsrPwd
            End With

            crReportDocument.Load(strDocPathFolder + "\" + "ABCCC.rpt")
            Me.CrystalReportViewer1.ParameterFieldInfo.Clear()
            Dim ParamFields As ParameterFields = Me.CrystalReportViewer1.ParameterFieldInfo

            'Set Month Paramter
            Dim GetMonthValues As Int16
            GetMonthValues = Session("Month")
            Dim Per As New ParameterField
            Per.ParameterFieldName = "SELECTMONTH"
            Dim Month_Value As New ParameterDiscreteValue
            Month_Value.Value = GetMonthValues
            Per.CurrentValues.Add(Month_Value)
            ParamFields.Add(Per)

            Me.CrystalReportViewer1.ParameterFieldInfo = ParamFields
            Me.CrystalReportViewer1.ReportSource = crReportDocument

            crReportDocument.SetDatabaseLogon(strUsrName, strUsrPwd, StrReportServer, strReportDBName)

            Me.CrystalReportViewer1.RefreshReport()
            CrystalReportViewer1.Visible = True


Thanks to help.

Thanks,
Yasin.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.