Data tab
We have an application in which Report Designer is opened and the Data tab
needs to either appear or not appear depending on certain conditions (i.e.,
the security level of the user). I know that displaying the Data tab in
Report Designer is driven by whether daDatMan and daIDE are included in the
uses clause. However, as far as I can figure, it is driven by whether they
are included in the uses clause of any of the forms in your project. Is
there a way to have the Data tab either appear or not appear in Report
Explorer in your application based upon conditions determined by user input?
Thanks,
John
needs to either appear or not appear depending on certain conditions (i.e.,
the security level of the user). I know that displaying the Data tab in
Report Designer is driven by whether daDatMan and daIDE are included in the
uses clause. However, as far as I can figure, it is driven by whether they
are included in the uses clause of any of the forms in your project. Is
there a way to have the Data tab either appear or not appear in Report
Explorer in your application based upon conditions determined by user input?
Thanks,
John
This discussion has been closed.
Comments
The TppDesigner.Notebook property provides access to the TPageControl. Try
something like
myDesigner.Pages[0].TabVisible := True/False
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com