on-internet
← Community

Set values in formula fields in crystal report from VB

Stack Overflow ·

I'm new in vb and crystal report so please help me from my problem. I'm assigning values using vb codes to a formula field from my crystal report. Here is my code: Dim report As CrystalDecisions.CrystalReports.Engine.ReportDocument report = New report_Student() report.DataDefinition.FormulaFields("student").Text = "Slone" & Chr(13) & "Thompson" frm_print.viewerReport.ReportSource = report frm_print.viewerReport.RefreshReport() frm_print.Show() i place this in button click event. Now i have an error on running this, before it loads the crystal report from viewer this error shows: The remaining

Comments

Sign in or sign up to comment and upvote.

No comments yet.