Question

Crystal Reports XI, SQL Server 2008. I have a varchar column that uses a record separator to divide items but it disappears when it's rendered in Crystal Reports.

When I check the results in an editor I see that it's recognized as either RS or in Hex 1E. I would like to convert the RS to a comma if possible but anything that breaks it up would work.

Example Item oneRSItem TwoRSItem Three becomes Item OneItem TwoItem Three. I would like to have Item One, Item Two, Item Three.

Was it helpful?

Solution

Here's what I ended up doing which solved my issue. I determined that the record separator was CHAR(30) (using this table) and used that function in REPLACE(table.Value, CHAR(30), ', ') and it worked.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top