Cant page forward pass page 2

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()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top