Assigning Data Fields to Fields at Runtime

I am using FastReport to create reports for VS2012 and using VB.Net. I ideally want to create the report specifying no data source and then save the report as a VB file. I then create a datatable in my reporting module, but then want to define which fields on my newly created report map to which fields in my datatable and then print the report. I've been searching for a way to do this for an age, but can't find anything.

Help gratefully received. Thanks

Colin

Comments

  • edited February 2017
    using class (pre-compiled) instead of frx file is recommended for performance.
    frx file is loaded at runtime and compiled at runtime, performance will suffer.

    but, the steps are not simple. First of first, you need datasource to design a report, make sure it is working, if you're happy with the outcome, save as class (c#/vb)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.