valmatic
asked on
Crystal Report String required in calc
Hi. I created a report using Crystal Reports Developer v.11.5 over a SQL database. I recently swiched servers and am getting an error on one of my report calcs. both servers are Windows Server 2008 R2 and are running SQL 2012.
Calc is: {VMI_WC_PRIO.START_DT}<= CurrentDate + 30 error is: A string is required here.
Error is in the command. Is this currentdate formula no longer valid?
Calc is: {VMI_WC_PRIO.START_DT}<= CurrentDate + 30 error is: A string is required here.
Error is in the command. Is this currentdate formula no longer valid?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What type does Crystal think the date field is?
You may have to remove the test to run the command.
When you are in the Crystal editor you can see what type the field is in the field explorer.
mlmcc
You may have to remove the test to run the command.
When you are in the Crystal editor you can see what type the field is in the field explorer.
mlmcc
ASKER
Thanks. I decided to go a different route on this though and just rebuilt the SQL view with my calc in it. Solved my issue anyway.. Enjoy the points but keep me in mind if you see my name. I'm fairly new to both SQL server and Crystal so I'm sure I'll have other questions.. cheers.
ASKER