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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can a string be created from a recordset?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
There is a stored procedure that returns a variable number of records. Is there a way to create a formula that creates one string for all the records in Crystal Reports? In VB its just a matter of looping through the recordset and adding each record to the string. How would you do this in Crystal Reports?
 
You need a running total of string values, that appends one to a variable on each record.

See the FAQ on running totals in the general forum. Use the 3-formula technique. However you will use a StringVAr instread of a NumberVar. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top