Thank You to anyone who can help solve this issue.
Grids that have several fields using the grid lookup - lookup method -> automatic -cannot be sorted alphabetically.
The SQL using the ‘where val = {val}’ to lookup the details in another table (where {val} points to an int datatype)
PROBLEM: When the end user uses the sort by options on these fields (for example: employee -> sort by first name) the sort is ALWAYS triggered by the record index of INT datatype.
Is there any way to get the grid to “SORT BY” using the alpha rather than doing the sort by on the index or primary key (see img -> method03.jpg)
Also, Is there a way to call a method (I need to use some logic i.e. ‘if then’ or ‘switch’) from the grid lookup? For example, If an employee’s record is marked “terminated” then select employee records where term = true else select all records. (see img -> method01.jpg and method02.jpg)
Thanks!!
[ATTACH=CONFIG]n69841[/ATTACH] [ATTACH=CONFIG]n69840[/ATTACH] [ATTACH=CONFIG]n69839[/ATTACH]