Page 1 of 1

report hyperlink triggering an event

Posted: Thu Nov 07, 2013 8:55 pm
by paullef
Hello,

I would like to have a report, with some kind of hyperlink. If you press this hyperlink, an event is being triggered, so I can start another part of my application (using the information from the hyperlink). I am using the stiviewercontrol, hosted in a bigger application. Is this possible?

I know there is a kind of hyperlink, but this starts an external program.

Thanks
Paul

Re: report hyperlink triggering an event

Posted: Mon Nov 11, 2013 11:35 am
by HighAley
Hello, Paul.

It seems that you are looking for Drill-down report.

Please, look at the Interactive Reports section of our Demo.
Are next reports like you need:
  • List of Products
  • Cross-tab with detailing
  • Selection
Thank you.

Re: report hyperlink triggering an event

Posted: Mon Nov 11, 2013 1:25 pm
by paullef
Aleksey,

I know there are drill-down reports, and this will start for instance another report, however I want to start another part of my program which has nothing to do with the reporting, for instance an form. For this to happen, I need a trigger from the reporting control, with for instance the url to identify a record. I have seen that with the hyperlink option you can go to a webpage, I would like to trigger anohter part of my application.

Thanks
Paul

Re: report hyperlink triggering an event

Posted: Tue Nov 12, 2013 11:07 am
by HighAley
Hello, Paul.
paullef wrote:I know there are drill-down reports, and this will start for instance another report, however I want to start another part of my program which has nothing to do with the reporting, for instance an form. For this to happen, I need a trigger from the reporting control, with for instance the url to identify a record. I have seen that with the hyperlink option you can go to a webpage, I would like to trigger anohter part of my application.
And what problem do you have with Hyperlink property?
There is also the Click event that could be handled.

Thank you.

Re: report hyperlink triggering an event

Posted: Tue Nov 12, 2013 9:17 pm
by paullef
The hyperlink is great, but instead of going to an external program, I want to present a form in the same application the viewercontrol is situated. I can use the hyperlink, and use the clickcomponent event for the event trigger. One last problem: how can I prevent this event trigger from trying to start an external program. The clickcomponent event does not have the e.cancel posiblity. If I, for instance, make an hyperlink with 'ab:id25', meaning present my own application screen with recordid 25, I can present my own form with record 25, however windows will inform me that there are no apps installed for AB, and if I want to search them. Can I prevent this from happening, by canceling the external start of a program ?

Thanks
Paul

Re: report hyperlink triggering an event

Posted: Thu Nov 14, 2013 10:20 am
by HighAley
Hello, Paul.

Please, try to use Tag property instead of the Hyperlink.

Thank you.

Re: report hyperlink triggering an event

Posted: Thu Nov 14, 2013 4:42 pm
by paullef
Ok, the clickcomponent event is triggered and I can see the TagValue. However a user can't see were to click because it is not showing a click-hand cursor like the hyperlink option does. Is there a better way, for instance stopping the external application startup using the hyperlink?

thanks
Paul

Re: report hyperlink triggering an event

Posted: Fri Nov 15, 2013 1:33 pm
by HighAley
Hello.

Please, try to use Mouse Enter and Mouse Leave events to change cursor.

Thank you.