Which item is selected in the Explorer
I am using MergeMenu in TppReportExplorer. This menu item when selected will
display a accesrights maintenance screen. It is my intention to allow the
user to set the access rights to the currently selected report intem in the
explorer.
TppReportExplorer.CurrentItemName does not return the selected item. Also I
tried this via:
ppReportExplorer1.ItemPipeline.GetFieldForName('ItemID').Value
Also no success.
How can I get access to the report item selected?
Thanks
PS Your prior help was appreciated and helpfull.
Regards
Paul van Dinther
display a accesrights maintenance screen. It is my intention to allow the
user to set the access rights to the currently selected report intem in the
explorer.
TppReportExplorer.CurrentItemName does not return the selected item. Also I
tried this via:
ppReportExplorer1.ItemPipeline.GetFieldForName('ItemID').Value
Also no success.
How can I get access to the report item selected?
Thanks
PS Your prior help was appreciated and helpfull.
Regards
Paul van Dinther
This discussion has been closed.
Comments
recrod in the database for the report that is currently selected in the
report explorer (the report explorer would run slower if it did that). The
report is only loaded when the item is double clicked on, it is subsequently
loaded into the template object inside the report component which is
connected to the report designer. You'll have to edit the record which is
represented by the currently selected item in the report explorer. You can
see how we load a report in the report explorer in the
..\RBuilder\Source\ppRptExp.pas in the TppReportExplorer.LoadReport method.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com