I'm having a problem similar to the person with the Excel string/memo problem. I have a SQL Server query that contains a field that's assigned a return value of a UDF. The value of the UDF can be a string up to 254 characters long. I have two identical copies of this query and UDF in two different databases. When I link to database #1, Crystal assigns the field a type of String[255]. When I link to database #2, Crystal assigns the field a type of Memo.
How does Crystal decide how large the string can be? I'm not even sure why it's decided on String[255] instead of String[254]. I changed the UDF to return Left(Value,10) instead of simply Value, and Crystal doesn't seem to realize that there's a difference.
Any ideas?
How does Crystal decide how large the string can be? I'm not even sure why it's decided on String[255] instead of String[254]. I changed the UDF to return Left(Value,10) instead of simply Value, and Crystal doesn't seem to realize that there's a difference.
Any ideas?