PropData gives me headache

edited 10:57PM in FastReport 4.0
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 10:57PM
    Try dynamically fill Tfrxreport.Datasets and TfrxReport.EnabledDatasets
  • edited 10:57PM
    Thank you, I'll try.
  • edited 10:57PM
    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