Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail Merge From Crystal? Please Help 1

Status
Not open for further replies.

samonsey

Programmer
Jan 29, 2001
19
US
Does CR 8.5 have the ability to insert data into the midst of large blocks of text (much larger than 255 char), sort of like Word's mail merge feature. I am trying to print contracts that have variable contents. Since not every contract gets every page, simply automating Word from VB will not work. I am wondering If I am missing something. I can't simply create a formula, because the results have to be less than 255 characters. Is there something else I can try?


Thanks, Asa Monsey
Maxim Group Consultant
Visual Basic / SQL Server
 
You can insert fields into text objects, which don't have a length limit. Type the static text, and then insert the fields into the text. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Ken,

Thanks for the reply, I have gotten many good tips from you just by reading other threads.

Can you give me a code sample please?

Would it look like this:

(double click on the text box)

"blah blah blah {adoRecordset.field1} blah blah"

TIA,

Asa Monsey
Maxim Group Consultant
Visual Basic / SQL Server
 
There is no code. Just drag the field over the typed text object. You will see an insertion point. It will end up looking like what you have typed in the design screen. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Ken,

Sometimes I look for the complicated answer to an easy problem. This just seemed too obvious to work, but it is exactly what I needed.

Thanks, Asa Monsey
samonsey@houston.rr.com
Maxim Group Consultant
Visual Basic / SQL Server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top