Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: *RESOLVED* date(month({date})) = {?parameter} Post Reply Post New Topic
Author Message
phoeneous
Newbie
Newbie


Joined: 06 Oct 2009
Online Status: Offline
Posts: 13
Quote phoeneous Replybullet Topic: *RESOLVED* date(month({date})) = {?parameter}
    Posted: 04 Nov 2010 at 8:55am
I created a parameter called birthmonth which has the two digit number of each month of the year like 01, 02, 03, to 12.  This parameter is used to filter a date field in the report.  When I use the select expert record selection formula editor with the forumula below I keep getting "A date is required here".  Not sure where my syntax is wrong.  Any help is appreciated.
 
date(month({date_of_birth})) = {?birthmonth}
 
I even tried cstr(date(month({date_of_birth}))) = {?birthmonth} but the report is blank.
 
FIX:
 
This works after I changed the parameter values to the month names like January, February, etc..
 
monthname(month({date_of_birth})) = {?birthmonth}


Edited by phoeneous - 04 Nov 2010 at 9:53am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.