How to add Date in crystal Report c# -
in app showing date in crystal report , have column number of months text in database.
so, create formula field addition of date , month in order new value of date got error telling me field not numerical.
here code add date
cdate(dateadd ("m",tonumber({tablename.interval}) ,{tablename.date} ))
tablename.interval of type text , tablename.date of type date in database.
try remove cdate function guess work. final fomrula must like:
dateadd ("m",tonumber({tablename.interval}),{tablename.date} )
Comments
Post a Comment