Hi,
I'm want to pass 3 parameter (dept, year & month) and display to crystal report.
Private Sub cmdSubmit_Click()
x = combodept.text
m = combomth.text
y = comboyear.text
crpt1.ReportFileName = "C:\project\ExpClm" & "\indv.rpt"
crpt1.Formulas(0) = "formula0 = '" & x & "'"
crpt1.Formulas(1) = "formula1 = '" & m & "'"
crpt1.Formulas(2) = "formula2 = '" & y & "'"
crpt1.Action = 1
end sub
When i passing this parameter, I don't know how to do at crystal report. I'm using crystal report 4.6. Any idea how?.
I'm want to pass 3 parameter (dept, year & month) and display to crystal report.
Private Sub cmdSubmit_Click()
x = combodept.text
m = combomth.text
y = comboyear.text
crpt1.ReportFileName = "C:\project\ExpClm" & "\indv.rpt"
crpt1.Formulas(0) = "formula0 = '" & x & "'"
crpt1.Formulas(1) = "formula1 = '" & m & "'"
crpt1.Formulas(2) = "formula2 = '" & y & "'"
crpt1.Action = 1
end sub
When i passing this parameter, I don't know how to do at crystal report. I'm using crystal report 4.6. Any idea how?.