Totally block designer seeing dataset/units

OldorfOldorf Copenhagen Denmark
edited November 2003 in FastReport 2.xx VCL
Warning! this might be outdatet, I can not compile v. 2.51, so I'm running v. 2.47.

When I use a designer and run the program, the user can still see datasets etc. from other units, even if I have added the dataset to the DisabledDatasets list,
the dataset is correctly enough not listed in the "Data dictionary" and the "Insert data field", but the components (tables, queries...) can still see it !

Does anyone have a clue on this one ?

Reggies
Oldorf

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:06PM
    Hi Oldorf
    probably because the uses clause of the form containing the report component refrences the datamodule, so the underlying tables can be seen.
    regards
    gordk ;)
  • OldorfOldorf Copenhagen Denmark
    edited November 2003
    Hi gordk!

    Thanks for the fast reply ;-).

    Nope that isn't the case or is it ...

    A situation:
    Datamodule for other data stuff: DMMain
    Datamodule for report data: DMReport
    Main window: FrmMain

    The FrmMain uses DMMain and DMReport.
    When a button is clicked the FrmMain refers to the report in the
    DMReport unit.
    The DMReport does not uses any of the projects units.
    But still it can see the DMMain objects in the datasets.
    I have even moved the creation of the DMReport to be the first
    to be created in the application and I also tried to make a function
    in the DMReport, that show the designer etc. so I only had one
    statement in the button click, but no luck.

    Any idea what to do ?

    Thanks
    Oldorf

    PS!, I installed the latest version Friday evening, it's still the same result.

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.