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
Error # 429: ActiveX component can't create object by db1 when sending automatic email
Access questions re: forms
Can anyone suggest a good spec for a games machine?
How do I place an image next to a database item in SQL Reporting Services
How can I retrieve a list of printer trays for a specific printer?
Access 2007 VBA code for Make Table Query
Creating an automatic sum for specific cells - excel 2007
sharepoint create site column programmatically
Need help with SQL 2008 running on a 2008 failover cluster
Insert values in listbox to access table