Jun 14, 2001 #1 EdRev Programmer Aug 29, 2000 510 US I'm using CR 4.5 that came with VB 6.0. How can I pass parameters to my Crystal Report like title. Any help will be greatly appreciated.
I'm using CR 4.5 that came with VB 6.0. How can I pass parameters to my Crystal Report like title. Any help will be greatly appreciated.
Jun 17, 2001 #2 tamaz Programmer Jun 13, 2001 3 US Try something like this: formName.CrystalReport1.Formulas(0) = "Title" This works in Crystal 7. You will need to make an empty formula field on your report to pass in the title. Good luck. Upvote 0 Downvote
Try something like this: formName.CrystalReport1.Formulas(0) = "Title" This works in Crystal 7. You will need to make an empty formula field on your report to pass in the title. Good luck.
Jun 18, 2001 #3 PrakashKC Programmer Jun 5, 2001 2 HK Try this: formName.CrystalReport1.ParameterFields[parameterno] := 'prameterfieldname;value;TRUE'; eg. MyForm.CrystalReport1.ParameterFields[0] := 'title;MYTITLE;true' This works fine... and helps to pass parameters to Crystal Report... Upvote 0 Downvote
Try this: formName.CrystalReport1.ParameterFields[parameterno] := 'prameterfieldname;value;TRUE'; eg. MyForm.CrystalReport1.ParameterFields[0] := 'title;MYTITLE;true' This works fine... and helps to pass parameters to Crystal Report...