Error FIX: Crystal Report Won’t Stop Loading

Leave a comment Standard

Problem: I noticed if you have really large strings in the crystal report, instead of having them as type text (aka memo in Crystal) the report won’t ever stop loading. For instance,  a field called question that’s string(8000) instead of type text.

Solution: What you can do is cast the string as a text in the SQL before it’s pulled into Crystal. That seems to fix the problem. Something along the lines of:

mysql> SELECT (CAST question AS TEXT) FROM quiz_questions WHERE qid = 1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s