Totally block designer seeing dataset/units
Oldorf
Copenhagen Denmark
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
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
probably because the uses clause of the form containing the report component refrences the datamodule, so the underlying tables can be seen.
regards
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.