I’m working on an application that requires parsing and doing string substitutions in a large text field. The database is a SQL database. When reading the field, Crystal assigns the field to datatype = memo because it exceeds 255 characters. The intent is to be able to do some substitutions within this large text (memo) field. Crystal does not permit the use of a memo field in a formula.
I am requesting any assistance or advice in how this might be done.
An example:
The memo field :
“The client <M/M lastname> will comply with the treatment plan by attending counseling services on a <frequency> basis for <duration>. <Staff> will provide on call assistance and support on a 24 hr, 7 day week schedule. ………etc…..”
Our need is to be able to replace <M/M> with either Mr. or Ms. Based on the client gender, <lastname> with the clients actual last name (a field in one of the database tables, <Staff> with the staff name (a field in one of the database tables), <frequency> and <duration> with actual values.
I am using Crystal Reports version 8.
Thanks
Pudge
I am requesting any assistance or advice in how this might be done.
An example:
The memo field :
“The client <M/M lastname> will comply with the treatment plan by attending counseling services on a <frequency> basis for <duration>. <Staff> will provide on call assistance and support on a 24 hr, 7 day week schedule. ………etc…..”
Our need is to be able to replace <M/M> with either Mr. or Ms. Based on the client gender, <lastname> with the clients actual last name (a field in one of the database tables, <Staff> with the staff name (a field in one of the database tables), <frequency> and <duration> with actual values.
I am using Crystal Reports version 8.
Thanks
Pudge