NetTalk Central

Author Topic: I need to create fields for my report filters at runtiime.  (Read 4548 times)

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
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

Sibuya

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Email
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

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
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.
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
    • View Profile
    • Email
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

 

Sibuya

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Email
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