Hi
I am using database where in the comments cell there is a string value Maintenanceorder z, if the order is maintenance and empty or random text if the order is Stock order.
In the report I need to categorize the orders by letter:
M=Maintenance order
S=Stock order
But when the comments cell is empty Crystal skips the record and don't print anything on that line.
I have tried the following:
If Left ({Srder.Comments_2},11 )="Maintenance" Then
"M"
Else
"S"
If comments cell has any value the example works. But when empty Crystal skips the line and leave it empty.
Thanks
I am using database where in the comments cell there is a string value Maintenanceorder z, if the order is maintenance and empty or random text if the order is Stock order.
In the report I need to categorize the orders by letter:
M=Maintenance order
S=Stock order
But when the comments cell is empty Crystal skips the record and don't print anything on that line.
I have tried the following:
If Left ({Srder.Comments_2},11 )="Maintenance" Then
"M"
Else
"S"
If comments cell has any value the example works. But when empty Crystal skips the line and leave it empty.
Thanks