custom sql not populating grid
Posted: Wed Jan 23, 2013 1:40 pm
I have 6 fields in my grid (1 hidden, 5 output) I am using the custom SQL to create an SQL to substring characters from a column. The grid is not being populated. When I run showErrors(), I receive the below error message:
Run SQL Select Query ID: CPF9897 Message: Invalid Input
The SQL runs on the iSeries:
Select SUBSTRING(NTDESC,1,40) As Desc, NTREDF,NTRFCE,NTRFEM,NTSTAT,NTID From NOITRDPM
The fields in my grid are as follows:
NTID, DESC, NTREDF, NTRFCE, NTRFEM, NTSTAT
(hidden) (Output---------------------------------------)
Does ProfoundUI reference the fields by placement within the grid, or by field name?
Also, is it possible to have a field in the grid that is not a field in the database table?
Run SQL Select Query ID: CPF9897 Message: Invalid Input
The SQL runs on the iSeries:
Select SUBSTRING(NTDESC,1,40) As Desc, NTREDF,NTRFCE,NTRFEM,NTSTAT,NTID From NOITRDPM
The fields in my grid are as follows:
NTID, DESC, NTREDF, NTRFCE, NTRFEM, NTSTAT
(hidden) (Output---------------------------------------)
Does ProfoundUI reference the fields by placement within the grid, or by field name?
Also, is it possible to have a field in the grid that is not a field in the database table?