PropData gives me headache

Hello,

I create reports dynamically:
1. editing the xml files
2.loading them in database

At report load it gave me error that "xy" dataset is missing though it was not mentioned in the xml.

After many hours I found out that the PropData (which is coded as "044C65667403F80103546F7002100844617461736574730101062420446174615365744E616D653D22667278444244617461736574416C74616C616E6F73220000095661726961626C65730100055374796C650100")
contains some dataset definitions.

How can I change this?

Comments

  • gpigpi
    edited 5:15AM
    Try dynamically fill Tfrxreport.Datasets and TfrxReport.EnabledDatasets
  • edited 5:15AM
    Thank you, I'll try.
  • edited 5:15AM
    peleus wrote: »
    Hi starhu, how did this work out for you? I assume well?

    Hi,

    Not really. I created the datasets dynamically and I got the same error.
    I needed to create the Reports from 0 level [img]style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid=":angry:" border="0" alt="mad.gif" /> The point was to be able to "copy" an existing report and only change the datasets, but the PropData contained the dataset from the previous report (it is cumbersome to re-design all of my reports without using datasets just for this).[/img]
  • gpigpi
    edited December 2012
    Can you attach small simple Delphi project with problem?

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.