database driven grid and parameters
-
- Profound User
- Posts: 64
- Joined: Thu Aug 04, 2011 4:53 am
- First Name: Karl
- Last Name: Fritz
- Company Name: Logic IT Services
- Address 1: Fluhgasse 141
- City: Laufenburg
- Zip / Postal Code: 5080
- Country: Switzerland
- Location: Switzerland
- Contact:
database driven grid and parameters
I have a display screen and would like to insert a database driven grid in the panel. The grid records are depending of a certain value of the display screen. Is it possible to submit a value to the database driven grid or select the value within the grid from the display file? Thanks.
- 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: database driven grid and parameters
The easiest way to achieve this is to bind a 50A field to the selection criteria property. In RPG you would populate this field (I named it Criteria) something like this:
RPG CODE
or if it is an alpha:RPG CODE
This is essentially a WHERE clause for the SQL command.-
- Profound User
- Posts: 64
- Joined: Thu Aug 04, 2011 4:53 am
- First Name: Karl
- Last Name: Fritz
- Company Name: Logic IT Services
- Address 1: Fluhgasse 141
- City: Laufenburg
- Zip / Postal Code: 5080
- Country: Switzerland
- Location: Switzerland
- Contact:
Re: database driven grid and parameters
Works fine, thank you.
Who is online
Users browsing this forum: No registered users and 2 guests