• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2086
  • Last Modified:

Crystal Reports - Binding field at runtime.

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?  
0
akobes05
Asked:
akobes05
  • 2
  • 2
1 Solution
 
mlmccCommented:
Can you dump it to an XML file?

mlmcc
0
 
frodomanCommented:
Why not simply base your webgrid and your report from the same dataset?

frodoman
0
 
akobes05Author 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.
0
 
akobes05Author Commented:
How can I define the dataset in such a way that I can see the structure inside crystal reports?
0
 
frodomanCommented:
Check this document:  http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf

Page 332+ walks you through creating a report based on a dataset.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now