We help IT Professionals succeed at work.

Crystal Reports - Binding field at runtime.

2,097 Views
Last Modified: 2012-06-27
I am looking for an efficient way to display data in a infragistics wegrid and then print the same data in a crystal report.  I figure using an arraylist of structures would eb good, but I cannot reference the field definitions in crystal reprots.  If I create unbound fields in the Crystal Reprot is there a way to then bind them at runtime through code?  
Comment
Watch Question

Mike McCrackenSenior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013

Commented:
Can you dump it to an XML file?

mlmcc

Commented:
Why not simply base your webgrid and your report from the same dataset?

frodoman

Author

Commented:
If you are referring to the grid data I suppose I can.  But even if its possible I still do not know how to link regular text object in the report to fields in the xml file.

Author

Commented:
How can I define the dataset in such a way that I can see the structure inside crystal reports?
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.