I'm trying to pass variable from visual basic over to a crystal report parameter and that works fine, unfortunetly as soon as the report loads I am prompted to enter the variable again in the "Enter parameter fields" box. Is there anyway I can disable the parameter field box?
I am using VB6 and CR 8.5. I am also using crystl32.ocx component to call the report, bellow is my code:
Private Sub Command2_Click()
test = InputBox("GRRR")
CrystalReport1.ReportFileName = "temp.rpt"
.DiscardSavedData = True
.ParameterFields(0) = "par;" & test
.Action = 1