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
MSG command giving Error 5 to domain admin
getting the hwnd or dc for access form
Can't get GPO to hide drives
Microsoft Server 2003
Access ADP Error Msg: "Cannot Find Column"
sql server 2005 no services empty list
How to shrink Wss_Content_log.ldf file in wss 3.0??
Publishing a web server in ISA 2006 that has links to network directories.
search within OWA?
Move Combobox to Access TabControl on Form