#1 2017-04-02 22:01:38

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Show a Details view when click on a Report's record row

Hi,
How can I connect a "RowClick" event to a View ?

Thanks
Best
Joseph Caristena
EGovMetrics

Offline

#2 2017-04-03 11:06:34

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Show a Details view when click on a Report's record row

Hola Joseph,

Sorry, but, I am not sure if can understand you perfectly. What do you means by "connect a RowClick" to a View?

Offline

#3 2017-04-03 11:11:27

svanneste
Member
From: Paris, France
Registered: 2015-05-27
Posts: 155

Re: Show a Details view when click on a Report's record row

Hello Joseph,
I would take a look at the "DecSoft" app sample shipped with AB. There is a function OpenProgramUrl to modify as a first step to find your solution. That function is linked to the Report.Click event.
To access a view, you can use ShowView or ReplaceView (but I am sure you already knew that).
Hope this can help

Last edited by svanneste (2017-04-03 11:12:58)

Offline

#4 2017-04-03 12:37:06

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Show a Details view when click on a Report's record row

Hello to all,

svanneste wrote:

Hello Joseph,
I would take a look at the "DecSoft" app sample shipped with AB. There is a function OpenProgramUrl to modify as a first step to find your solution. That function is linked to the Report.Click event.
To access a view, you can use ShowView or ReplaceView (but I am sure you already knew that).
Hope this can help

Thanks for your help Samuel! Certainly I also think to suggest the usage of the "ShowView" or "ReplaceView" actions in the RowClick event, in order to shown an app's view. But I am not sure if this is what Joseph wanted. Maybe he can provide us more details about.

Offline

#5 2017-04-03 15:18:12

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Re: Show a Details view when click on a Report's record row

Hi,
Thanks to all the members for the contribution;)
YES.
How can I connect a "RowClick" event to a View, using the "ShowView" or "ReplaceView".

In details I am not sure about the code to use.
Maybe it can useful to dwonload an example or project.

Thanks
Joseph Caristena
...

Offline

#6 2017-04-03 15:23:55

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Show a Details view when click on a Report's record row

Hello Joseph,

The point is what you wanted... that is, the "RowClick" is a Report's control event that are fired when an user click or tap into an Report's record row. This even it not particularly different than any other, and, in fact we can prepare in that even one or more actions to be executed, like the "ShowView" or "ReplaceView" actions.

So I am not sure what you wanted exactly... sorry for that!

Offline

#7 2017-04-04 12:47:53

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Re: Show a Details view when click on a Report's record row

Hi David,
I am developing an app for "goods inventory".
There are many items.
So I think that a report control is a good idea to show the items.
Each item has further details which can be shown on another page in this case
on a View.
Reason why I was asking
how can I connect a "RowClick" event to a View, using the "ShowView" or "ReplaceView".

Thanks
Joseph Caristena
...

Offline

#8 2017-04-04 13:09:21

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Show a Details view when click on a Report's record row

Hello Joseph,

Please, take a look at these apps samples: Report2, Report3, Report4, Report5 and Report7. All of them have a "Details" app's view, that is shown when the user click a Report's record row. Basically we can use the "ReportName.Record" variable in the "Details" app's view, in order to shown, for example, more information than we shown in the Report control.

Let me know if you have any further question after take a look at the refered samples. Then I will try to help you.

Offline

#9 2017-04-04 17:29:35

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Re: Show a Details view when click on a Report's record row

Hi David,
Thanks
Best
Joseph Caristena

Offline

#10 2017-04-04 19:13:16

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Show a Details view when click on a Report's record row

Hello to all,

EGovMetrics wrote:

Hi David,
Thanks
Best
Joseph Caristena

You're welcome Joseph!

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.