Record selection formula editor error
hello I'm trying to generate crystal report based on the two dates selected by the user ...
the selection formula editor gives me the error "a string is required" when I want
to save and close my formula , can any1 help me whts wrong with my formula shown below ,
{records.entrance_date} >= {?entrance_date} and {records.entrance_date} <= {?entrance_date2}
both ?entrance_date and ?entrance_date2 are of date data type
thanks
Re: Record selection formula editor error
And what about ---> {records.entrance_date} ? Is it date data type too?
JG
Re: Record selection formula editor error
yes thts also of date data type
Re: Record selection formula editor error
Try
Code:
{records.entrance_date} in {?entrance_date} to {?entrance_date2}
Re: Record selection formula editor error
hello my problem is solved by selecting the data type of the variables ?entrance_date and ?entrance_date2 as 'string' .............
Re: Record selection formula editor error
Then your table field {records.entrance_date} is not of date data type