I have a CRystal Report that uses a DateTime prompt in a formula to do record selection. My problem is I can only prompt for string values from CrystalWeb or ReCrystalize. What I need to do is, withing the formula, convert the string value to a DateTime value.
I will be prompting for two dates. start date and end date. I need to "tack on" a time value when I do the conversion to DateTime - the reports query for records entered between 6 AM on the start date to 6 AM on the end date.
So I need the following:
Start Promt = (2000,10,4) convert to 10/04/2000 06:00 AM
Can someone provide me the conversion formula???? [sig][/sig]
I will be prompting for two dates. start date and end date. I need to "tack on" a time value when I do the conversion to DateTime - the reports query for records entered between 6 AM on the start date to 6 AM on the end date.
So I need the following:
Start Promt = (2000,10,4) convert to 10/04/2000 06:00 AM
Can someone provide me the conversion formula???? [sig][/sig]