NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
I need to create fields for my report filters at runtiime.
« previous
next »
Print
Pages: [
1
]
Author
Topic: I need to create fields for my report filters at runtiime. (Read 4548 times)
JHojka
Jr. Member
Posts: 50
I need to create fields for my report filters at runtiime.
«
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
Logged
Sibuya
Jr. Member
Posts: 65
Re: I need to create fields for my report filters at runtiime.
«
Reply #1 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
Logged
terryd
Hero Member
Posts: 759
Re: I need to create fields for my report filters at runtiime.
«
Reply #2 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.
Logged
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186
JHojka
Jr. Member
Posts: 50
Re: I need to create fields for my report filters at runtiime.
«
Reply #3 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
Logged
Sibuya
Jr. Member
Posts: 65
Re: I need to create fields for my report filters at runtiime.
«
Reply #4 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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
I need to create fields for my report filters at runtiime.