Hi
I'm using Crystal 8.5 accessing an SQL database.
I have a database of patient visits. Patient visit information is entered by registration staff into the ADT. A report in the ADT uploads this information into abstracting software where staff code these visits. I have a Project with boolean fields for certain conditions in the abstracting software. For instance, if the postal code came across wrong from the ADT then they would flag field 1 of the project as true.
Now I'm creating a report to indicate what fields came across wrong so it can be sent back to the source. I've created a comment field per project field i.e. if {proj.fld1}="T" then "Ambulance date/time incorrect".
There could be more than one condition for Ambulance data so I created an ambulance field and entered:
{@comm1}+chr(13)+
{@comm2}+chr(13)+
{@comm3}+chr(13)+
{@comm4}
The problem is that the comment shows as above regardless of whether there aren't other conditions. For example, if there was a comment for 1 and 3 it would look like:
comment1
comment3
or just comment 4 would have 3 preceding blank lines. How can I control it so that blanks don't have blank lines returned. Thanks.
I'm using Crystal 8.5 accessing an SQL database.
I have a database of patient visits. Patient visit information is entered by registration staff into the ADT. A report in the ADT uploads this information into abstracting software where staff code these visits. I have a Project with boolean fields for certain conditions in the abstracting software. For instance, if the postal code came across wrong from the ADT then they would flag field 1 of the project as true.
Now I'm creating a report to indicate what fields came across wrong so it can be sent back to the source. I've created a comment field per project field i.e. if {proj.fld1}="T" then "Ambulance date/time incorrect".
There could be more than one condition for Ambulance data so I created an ambulance field and entered:
{@comm1}+chr(13)+
{@comm2}+chr(13)+
{@comm3}+chr(13)+
{@comm4}
The problem is that the comment shows as above regardless of whether there aren't other conditions. For example, if there was a comment for 1 and 3 it would look like:
comment1
comment3
or just comment 4 would have 3 preceding blank lines. How can I control it so that blanks don't have blank lines returned. Thanks.