Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing parameter in crystal report 4.6

Status
Not open for further replies.

WZA

Programmer
Oct 29, 2002
1
MY
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?.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top