PDA

View Full Version : Web Report Button Question



Peter Donovan
24-Mar-2005, 03:56 AM
Hi,
On the web reports I have setup, there is a button "Run Report" which is
outlined as if it had the focus, however when the search criteria is entered
and the user presses enter, the report selection criteria clears and the
report does not run.

In VDF you would set the default value to true to make a button execute upon
enter. Is there a way to make the report run upon pressing enter please?
TIA,
Peter Donovan

wila
24-Mar-2005, 04:46 AM
Peter,

You can check "outlined as if it has the focus" by pressing <tab> if the
outline moves away your button had the focus.

You should add a <form target="yourfile.asp" ..> which surrounds the
button in order to make it work.
If the report is not run you might consider adding a hidden form
runreport with the value "1".
Usually that's the condition to make your report run (look in the .asp
source)

--
Wil

Peter Donovan wrote:
> Hi,
> On the web reports I have setup, there is a button "Run Report" which is
> outlined as if it had the focus, however when the search criteria is entered
> and the user presses enter, the report selection criteria clears and the
> report does not run.
>
> In VDF you would set the default value to true to make a button execute upon
> enter. Is there a way to make the report run upon pressing enter please?
> TIA,
> Peter Donovan
>
>

wila
24-Mar-2005, 04:57 AM
Woops
> You should add a <form target="yourfile.asp" ..> which surrounds the
should be
> You should add a <form action="yourfile.asp" ..> which surrounds the


--
Wil

Hans van de Laar
24-Mar-2005, 05:01 AM
Peter,

If I remember well you have to change the input type from "button" to
"submit". The first "submit" action is executed by pressing an enter.

Regards,
Hans

Peter Donovan wrote:

> Hi,
> On the web reports I have setup, there is a button "Run Report" which
> is outlined as if it had the focus, however when the search criteria
> is entered and the user presses enter, the report selection criteria
> clears and the report does not run.
>
> In VDF you would set the default value to true to make a button
> execute upon enter. Is there a way to make the report run upon
> pressing enter please? TIA,
> Peter Donovan



--
Regards,

Hans van de Laar
Micros b.v.
www.micros.nl