I am convert 200+ reports from CR8.5 to the newest version of CR. I have many reports that use the old TTX (Field Def File) which I am switching over to XML Field listing. But I also have many reports which do not use a TTX/XML file for its fields but rather I set the Report Database to my Recordset and then issue a .ReadRecords. Here is a snippet from my OLD VB6 App that I need to convert.
With moCrystalReport | |
.Database.AddADOCommand moRS.ActiveConnection, moRS.ActiveCommand | |
.Database.SetDataSource moRS, 3 | |
.AutoSetUnboundFieldSource crBMTName | |
.ReadRecords | |
End With |
In my new .Net winforms application I am using DataSets/DataViews instead of ADODB.Recordsets.
For my TTX/XML reports, I converted 3 of those pretty easily and they seem to work just fine. I'd like to try and avoid converting non-TTX reports to TTX. Any help with this would be greatly appreciated.
I would like to add that on the report I have various Function Fields that contain this:
WhileReadingRecords;
Space(10)