K
kurtgambino
I cant get crystal report to go past page 2 unless i click go to the
last page and it goes directly to the last page and when i press
previous page it goes to page 1. Code shown belo
Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table
Dim tliCurrent As CrystalDecisions.Shared.TableLogOnInfo
For Each tbCurrent In memberlistingrpt1.Database.Tables
tliCurrent = tbCurrent.LogOnInfo
With tliCurrent.ConnectionInfo
.ServerName = "10.129.1.180"
.UserID = "penuser"
.Password = "penpass"
.DatabaseName = "pensionweb"
End With
tbCurrent.ApplyLogOnInfo(tliCurrent)
Next tbCurrent
showrpt.ReportSource = New memberlistingrpt
memberlistingrpt1.SetParameterValue("@loginid", Session("loginId"))
memberlistingrpt1.SetDatabaseLogon("penuser", "penpass",
"10.129.1.180", "pensionweb")
showrpt.DataBind()
last page and it goes directly to the last page and when i press
previous page it goes to page 1. Code shown belo
Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table
Dim tliCurrent As CrystalDecisions.Shared.TableLogOnInfo
For Each tbCurrent In memberlistingrpt1.Database.Tables
tliCurrent = tbCurrent.LogOnInfo
With tliCurrent.ConnectionInfo
.ServerName = "10.129.1.180"
.UserID = "penuser"
.Password = "penpass"
.DatabaseName = "pensionweb"
End With
tbCurrent.ApplyLogOnInfo(tliCurrent)
Next tbCurrent
showrpt.ReportSource = New memberlistingrpt
memberlistingrpt1.SetParameterValue("@loginid", Session("loginId"))
memberlistingrpt1.SetDatabaseLogon("penuser", "penpass",
"10.129.1.180", "pensionweb")
showrpt.DataBind()