I broke down and decided to give Crystal another chance although I have never been successful creating a useful report.
I have a list of employees from a SQL database and want to create a new field on my report that takes the left character of another field.
I created a SQL Expression as follows:
LEFT(mytable.myfield,1)
I get an error saying there is something wrong with it. I also tried the default function that gives me this:
{fn LEFT(mytable.myfield,1 )}
where I double click on LEFT(, ) then doubleclick my field name and enter the 1.
I also looked in the help document and it shows this format:
Left({customer.FAX}, 3)
so I tried it:
Left({mytable.myfield}, 1)
I get "Error in compling SQL Expression: ."
then
"Error in initializing SQL Expression parser"
then
"Error in creating SQL Expression COM parser"
I need to be able to do many calculations and filtering on this data, so maybe Crystal isn't my best option after all.
thanks
b
I have a list of employees from a SQL database and want to create a new field on my report that takes the left character of another field.
I created a SQL Expression as follows:
LEFT(mytable.myfield,1)
I get an error saying there is something wrong with it. I also tried the default function that gives me this:
{fn LEFT(mytable.myfield,1 )}
where I double click on LEFT(, ) then doubleclick my field name and enter the 1.
I also looked in the help document and it shows this format:
Left({customer.FAX}, 3)
so I tried it:
Left({mytable.myfield}, 1)
I get "Error in compling SQL Expression: ."
then
"Error in initializing SQL Expression parser"
then
"Error in creating SQL Expression COM parser"
I need to be able to do many calculations and filtering on this data, so maybe Crystal isn't my best option after all.
thanks
b