Microsoft
Software
Hardware
Network
Question : Set crystal report discrete value
I am trying to set the discrete value for a report when I open the form. It seems to work ??? but I am prompted for the discrete value anyway
Private Sub frmScoreCard_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim report As New rptScoreCard
Dim ds As New DataSet()
ds.ReadXml("C:\DVADGOLF\tb
lPlayer.xm
l")
report.SetDataSource(ds)
report.SetParameterValue("
Course", frmRounds.DataGridView1.Cu
rrentRow.C
ells("Cour
se").Value
)
Me.CrystalReportViewer1.Re
portSource
= report
End Sub
I also want to add a second discrete value to be passed to the report.
Answer : Set crystal report discrete value
Make sure you are getting a DATE not a string passed to the date parameter.
Crystal will not attempt to convert any values passed to parameters. If they are the wrong type you will get prompted.
mlmcc
Random Solutions
Editting Access Table/Query from Excel with Microsoft Query
Windows 2008 r2 Cluster Shared Volume - Stuck "Online (Backup in progress, Redirected access)"
Sharepoint Portal Services Restore failure
Office 2007 Install Terminal Server
multiple indexes on a single table
trouble with sorting columns on gridview in ASP.NET 2.0
INSERT INTO SELECT FROM OPENQUERY question
Web Account Login Problem
How do I set up multiple RDPs thru my sonicwall TZ170 firewall
Auto populate date field for Microsoft CRM 4.0