hello,
i am having a little trouble trying to use crystal reports 4.6. im trying to pass a user selected date into a report from a vb app. since crystal reports 4.6 does not have parameter passing, how would i go about doing this?
thx for any help
Depends on how you want to use the date. You could create a date formula in the report and pass the date value to the formula. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
in the report i have a formula for the date named @printdate ...
in vb, i've tried:
CrystalReport.SelectionFormula = "{printdate} = {Date(2001, 11, 12 )}"
unfortunely it doesnt work... am i doing this properly?
If you are passing the selection formula, you don't need a formula field. Use the select expert to get any single date in the report, then use the "Edit Selection Formula" menu option to see the syntax used. Pass CR this exact syntax in your vb command. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
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.