|
-
Jul 25th, 2007, 09:03 AM
#1
Thread Starter
PowerPoster
[RESOLVED] CR 10.2 Error Message???
I'm not sure exactly how to process a SelectionFormula where a value is evaulating a DateTime variable. I have the following statement:
Code:
{tblRequest.requestDate} IN '7/1/2007 7:02:55 AM' TO '7/25/2007 7:02:55 AM'
I keep getting the Error Message "Error in Formula". Please see attachment for entire message.
Thanks,
-
Jul 25th, 2007, 09:50 AM
#2
Re: CR 10.2 Error Message???
I doubt this is your actual code. Does your report contain parameters or are setting the formula in VB? Regardless, convert the strings to dates.
Crystal has several functions to do just that. CDate might work.
{tblRequest.requestDate} IN CDate('7/1/2007 7:02:55 AM') TO CDate('7/25/2007 7:02:55 AM')
-
Jul 25th, 2007, 11:06 AM
#3
Thread Starter
PowerPoster
Re: CR 10.2 Error Message???
Bruce,
That was it. Thanks bro!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|