Pat_H
Active Member
I'm working on a custom application. I want to display a grid row (all columns) in yellow if the employee is an hourly employee. I use the following logic to perform this:
If Va frm_cPayTyeHSP_SALY is equal to "H"
Set Grid Color(FC Grid, <Currenly Selected Row>, <All Columns>, <Yellow>)
Else
Set Grid Color(FC Grid, <Currenly Selected Row>, <All Columns>, <Default>)
End If
The logic is working on my fat client but not on the Portal. It's not setting the color to yellow on every row that should be, just a few of them. Not sure why it works on some lines and not others, when it's working on all of them on the Fat client. I'm working in XE so we don't have web development, I do have debug turned on the JAS server and can look at the jasdebug.log but nothing in there is popping out at me as a potential error. Does anyone know if this should be working on the portal? Is there a rule that you have to get the color as the last thing you do before inserting the grid buffer row (because I'm not)? I can't find any documentation on this command and the rules associated with it. Does anyone have any ideas for me to try? Thanks in advance. - Pat
If Va frm_cPayTyeHSP_SALY is equal to "H"
Set Grid Color(FC Grid, <Currenly Selected Row>, <All Columns>, <Yellow>)
Else
Set Grid Color(FC Grid, <Currenly Selected Row>, <All Columns>, <Default>)
End If
The logic is working on my fat client but not on the Portal. It's not setting the color to yellow on every row that should be, just a few of them. Not sure why it works on some lines and not others, when it's working on all of them on the Fat client. I'm working in XE so we don't have web development, I do have debug turned on the JAS server and can look at the jasdebug.log but nothing in there is popping out at me as a potential error. Does anyone know if this should be working on the portal? Is there a rule that you have to get the color as the last thing you do before inserting the grid buffer row (because I'm not)? I can't find any documentation on this command and the rules associated with it. Does anyone have any ideas for me to try? Thanks in advance. - Pat