I am trying add a subfile grid to my display file with the grid being populated based on values on the screen. In the grid "selection criteria" property I have the following code:
js:"BCHTYB='" + get('BCHTYB') + "' AND USRPFB = '" + get('USRPF#') + "'";
On the screen, I have fields with ids of BCHTYB and USRPF#.
When I look at the requests being sent to the server for PUI0009102 the values from the get functions are blanks instead of the values on the screen. Am I doing something wrong?
Also, I am seeing 3 requests (with the same sql) being made to PUI0009102 each time the screen is displayed. If I change the gets to hardcoded values in the above code, the grid loads but flashes as the data from the 3 requests are processed.
Data grid selection criteria
-
- Profound User
- Posts: 72
- Joined: Fri May 08, 2009 2:43 pm
- First Name: David
- Last Name: Esdale
- Company Name: Guardian General Insurance
- City: Port of Spain
- State / Province: Outside Canada/USA
- Country: Trinidad and Tobago
- Location: Trinidad
- Contact:
- Rob
- Profound Logic Staff Member
- Posts: 135
- Joined: Fri Jan 04, 2008 12:12 pm
- First Name: Rob
- Last Name: Ferguson
- Company Name: Profound Logic Software
- Contact:
Re: Data grid selection criteria
You will need to bind a 100A field to the section criteria property and populate it with RPG
Who is online
Users browsing this forum: No registered users and 1 guest