INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Report Development

How can I use Memo fields, very long fields or VarChars in v8.x? by kenhamady
Posted: 12 Nov 00 (Edited 5 Jun 04)

If you have a Memo or VarChar in CR versions before v9, you will not be able to use it in a formula (except with IsNull) or for sorting, grouping or selecting.  If you are not connecting via ODBC, but are using a native database driver, you may only see the first 255 characters of your field.   A new KB article that gives 2 workarounds was posted by user RoadKill and is at the end.

The following explanation of the limitation is taken from a Seagate FAQ:

Crystal Reports does not currently support Memo fields in formulas or selection formulas. Because of this, you will not be able to browse data in Memo fields or reference Memo fields in formulas.

Crystal Reports reads database fields that meet any of these criteria as Memo fields:
  ?Fields exceeding 254 characters in length.
  ?Fields formatted as VarChar in the database (variable character length field).
  ?Fields formatted as Blob or Memo in the database.


NOTE One exception is the IsNull or NextIsNull functions. You can use Memo fields with these functions in a conditional formatting formula or a formula field.  For more details on this, go to:

http://support.crystaldecisions.com/kbase/c2007285.asp

There are two newer workarounds available for some SQL Based databases:  

1) Using a SQL expression within the CR designer
2) Using a view in the database.  

For details see the following article:

http://support.crystaldecisions.com/kbase/c2009954.asp

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
http://www.kenhamady.com/
tek2(AT)kenhamady.com

Back to Business Objects: Crystal Reports 4 Other topics FAQ Index
Back to Business Objects: Crystal Reports 4 Other topics Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close