NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: JHojka on May 02, 2016, 09:33:26 AM

Title: I need to create fields for my report filters at runtiime.
Post by: JHojka on May 02, 2016, 09:33:26 AM
All of my reports when run in windows uses range fields that are created at runtime. Anyone have ideas on how to duplicate this using nettalk.

Jeff Hojka
Title: Re: I need to create fields for my report filters at runtiime.
Post by: Sibuya on May 02, 2016, 08:45:22 PM
Hi Jeff,

In report procedure are you passing p_web? And tried to pass Session Values to these range fields? Just like p_web.GSV('low_limit') and p_web.GSV('high_limit').

Cheers,

Marcos
Title: Re: I need to create fields for my report filters at runtiime.
Post by: terryd on May 02, 2016, 09:51:12 PM
Hi Jeff
If you check the reports examples e.g. Web13 most of them have an option screen where parameters are defined and then pass those parameters to the report.
Title: Re: I need to create fields for my report filters at runtiime.
Post by: JHojka on May 03, 2016, 05:30:50 AM
I currently have my reports working properly except that my filters are currently hard coded with a NetTalk Form that has fields added using the templates.

On a window I use the CREATE() function to create an entry. The reports do not have pre-defined window entry controls.
 I am looking for a way to add my filter fields to a nettalk form at runtime. It appears to me that adding fields to a NetTalk Form in code is not a trivial task.

Jeff

 
Title: Re: I need to create fields for my report filters at runtiime.
Post by: Sibuya on May 03, 2016, 06:26:32 PM
Hi Jeff,

As I understood about a Form yes it will not be a trivial task. You should deal with Javascript/HTML and the logic behind the Form itself.

You could pre create the entries hidden and unhide as you need.

Cheers,

Marcos