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
Get the DHCP scopes (Ranges)
What to monitor with MOSS 2007
Printing question
WinNT Server and Trust Relationship
MS Access Where to put the code to calculate a field using data from a record selected in a subform
Calculate difference in time, and get the integer value
MSASCUI.exe error on XP Pro
SSRS 2005 - Multiple IIF Statement
drivers for UMC85c804 or SVGA 256c
Windows Server Cannot Update Error number: 0x8024D007