1) create a blank formula. Ex: form_Parameter
2) Place this formula on your report. Use the format option to hide when printing if you do not wish to show this information.
3) In your VB program:
CrystalReport1.ReportFileName = "Test.Rpt"
CrystalReport1.Formulas(0) = "form_Parameter = '" & My_Parameter & "'"
CrystalReport1.Action = 1
CrystalReport1.Formulas(0) = ""
4) The forumula 'form_Parameter' will contain My_Parameter generated from your VB program.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.