In my application I have certain calculated values stored in variables. I am using Visual Basic 6 and Crystal Reports 8.5 and my Report has certain Text Boxes where I want to display the calculated values. I don't want to use the Data Fields. I want to do like this:
But the Crystal Report displays an error at lines "C.txtName", saying that it is a Read-Only field.Code:Dim C as ...CrystalReport1 Dim var1, var2 As String Set C = New CrystalReport1 C.txtName.Text = var1 C.txtNumber.Text = var2




Reply With Quote