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!

How to send Multiple values for one formula field in crystal reports t

Status
Not open for further replies.

bhappy007

Programmer
Apr 15, 2008
12
IN
Hai All,

Im creating 2 formula fields in my crystal report for displaying empname and salary like this,

abc 100
xyz 200
pqr 300
in code behind im passing values to crystal report like this,

vb.net code
j=0
for i=0 to noof emps
rptDocument.DataDefinition.FormulaFields(j).Text = ds.Tables(0).Rows(i).Item(i)+";"
j=j+1
next

It is printing only

pqr 300
pqr 300
pqr 300

ie, It is over writing every time and im getting only last record how to get all emp records at a time..?

Thanks,
Aswath.
 
This is a .NET question, not a crystal question. You should post in forum768, which is all about integrating crystal reports in a VB or .NET program.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top