As you've seen so far, Crystal Reports XI can be created using the Visual Basic, Visual C#, Visual C++ and Visual J#. The only language for which you didn't show us the implementation is Visual J#. Here's how to do that:
The standalone version of the active x control, as you'll see below, is an entirely separate project. The final error listed happens if you try to load it into the Delphi project. It is simply treated as a normal library and doesn't have access to your project.
The 1.x version of the active x control is a 32 bit version and doesn't have any of these new features. In the following tutorial, I'll use the library's 2.x version which is a 64 bit version and is now almost 3 years old. Furthermore, the 2.x version doesn't have any of the newer Unicode features which is why I included the following line in the above tutorial:
Customizing the report design is a key report design enhancement. Visual Basic makes this easy for you with the object model. You can modify the sections, fields, groups, footers, headers, and the report itself at runtime.
This article shows how to modify and design the report by using the object model, internal event procedures, and the internal wizard. To add a field to the design, right-click the report in the designer and select a field, such as Budget. Click the field and observe its properties: Name: Set the field name. Note that generally field names must be distinct and are usually in the form of a separator as well, such as Budget. Filter: Set the filter that the field applies to. Numeric: If this field is numeric. Check: If this field is a check box. Singleline: If this field is a single line text. Report Properties: If this field is an unbound field in the report.
The Visual Basic text object can also generate several other objects. Text boxes can generate validation controls, check box controls, and command buttons. Furthermore, because the text box contains the column for control generation in the same location as the report designer, it can perform auto-generation and add special properties to these objects as you assign data to report fields and place them on the report. For example, you can generate a command button next to a text box for every record in the data set. When the user clicks on the command button, the record with the matching data value (the textbox) is selected. Then, if the select object's visibility is set to true, only the selected record is displayed on the report. d2c66b5586