Hi Chaps
At present I have developed an application using VB6 using Crystal 8.5 for reporting.All is fine..but I have a form that has a series of text boxs with information displayed. I then have a button that fies off a crystal report that displays the data that is displayed on the form. If I run it once everything shows..if I then run it again there is no data displayed on the crystal report.
eg. Set crxRpt = icu
icu.title.SetText ("ICU Statistics"
icu.txtDenVal.SetText (frmICUHRNstat.txtDen)
icu.txtNoInfecVal.SetText (frmICUHRNstat.txtInf)
icu.txtRate.SetText (frmICUHRNstat.txtRate)
icu.txtU95.SetText (frmICUHRNstat.txtUp)
icu.txtL95.SetText (frmICUHRNstat.txtLow)
icu.txtExpectVal.SetText (frmICUHRNstat.txtEx)
icu.txtExVal.SetText (frmICUHRNstat.txtExRate)
icu.txtPVal.SetText (frmICUHRNstat.txtP)
icu.txtZVal.SetText (frmICUHRNstat.txtZ)
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = crxRpt
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
Obviously there is more code ..but I hope you guys will get the general idea...
Any idea
Thanks
At present I have developed an application using VB6 using Crystal 8.5 for reporting.All is fine..but I have a form that has a series of text boxs with information displayed. I then have a button that fies off a crystal report that displays the data that is displayed on the form. If I run it once everything shows..if I then run it again there is no data displayed on the crystal report.
eg. Set crxRpt = icu
icu.title.SetText ("ICU Statistics"
icu.txtDenVal.SetText (frmICUHRNstat.txtDen)
icu.txtNoInfecVal.SetText (frmICUHRNstat.txtInf)
icu.txtRate.SetText (frmICUHRNstat.txtRate)
icu.txtU95.SetText (frmICUHRNstat.txtUp)
icu.txtL95.SetText (frmICUHRNstat.txtLow)
icu.txtExpectVal.SetText (frmICUHRNstat.txtEx)
icu.txtExVal.SetText (frmICUHRNstat.txtExRate)
icu.txtPVal.SetText (frmICUHRNstat.txtP)
icu.txtZVal.SetText (frmICUHRNstat.txtZ)
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = crxRpt
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
Obviously there is more code ..but I hope you guys will get the general idea...
Any idea
Thanks