I need to get the value of a field on each page using .Net code. Can someone help?
Someone recommended a book the other day and I am ordering it but it has not arrived yet.
Printable View
I need to get the value of a field on each page using .Net code. Can someone help?
Someone recommended a book the other day and I am ordering it but it has not arrived yet.
What type of ReportSource are you using? ADO recordset or something else?
Yes, it is.
Couldnt you just pull the value from the field from the desired record?
First, just want to say thanks for your follow-ups.Quote:
Originally Posted by RobDog888
Second, I could but let me give you a little bit more details. What I need to do is pull the value from a field on each page. Each page represents a state in the United States. I then use that value as the filename for the saved pdf.
I can go against the recordset but I am afraid that I might save, for example, California page with a filename of Colorado.pdf. I just want to be on the safe side and pull it from the field.
There has to be a way to do this because I did it in VB6. We are in the process of converting this step to .Net.
There probable is, but if you could post some of the relevant code to do this in VB6 it should
almost be the same. Did you make your report in CR or in .NET?