Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pointing a Crystal textobject at a dataset field
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00694184
Message ID:
00694723
Views:
11
Hi Cathi. I've been looking at this help topic for most of the day, and still can't figure out the syntax I actually use.

>Hi Evan,
>
>Crystal Reports for .NET uses an object model that you can control programically. A good link to look at the object model is at:
>
>ms-help://MS.VSCC/MS.MSDNVS/crystlrf/html/crurfaboutreportdocumentobject.htm
>
>These classes allow you to make all kinds of changes in code for your reports. I would recommend looking at the DatabaseFieldDefinition class which exposes the information about each field in your table. Also I would look at the FieldObject class which references each object included in your report and its DataSource.
>
>>>All of the examples for Crystal Reports.Net show how to put a field on a report by dragging a SQL or ADO.NET dataset field onto a report. My dataset is created on the fly. How do I point a textbox object at a field in my dataset. I can't find any properties to do this.
>>
>>I'll explain this a bit more.... I would like to access unbound field objects on the report and bind them to dataset tables. Something like
>>
>>oReport.Section3.fldName.Boundto = dsStaff.cResult.name
>>oReport.Section3.fldInfo.Boundto = dsStaff.cResult.info
>>
>>Is this possible? I can figure it out the syntax from the VS.NET help.
Previous
Reply
Map
View

Click here to load this message in the networking platform