I have a subfile with two output fields in each row that is set for single row selection. It sets on an indicator when selected. One of the fields in the subfile record has an error message on it that gets turned on when certain conditions exist. When the error indicator is turned on, the selection indicator gets turned off and the subfile row is updated. The error message displays correctly, but the subfile row is still hightlighted like it was selected. Even though the row still "shows" as selected, my program doesn't see the row as selected when the subfile is read again.
Is this a bug?
Subfile and Error message Issue
-
- Experienced User
- Posts: 100
- Joined: Tue Feb 21, 2012 1:24 pm
- First Name: Robert
- Last Name: Mullis
- Company Name: WRC
- State / Province: Georgia
- Country: United States
- Contact:
- David
- Profound Logic Staff Member
- Posts: 690
- Joined: Fri Jan 04, 2008 12:11 pm
- First Name: David
- Last Name: Russo
- Company Name: Profound Logic Software
- Contact:
Re: Subfile and Error message Issue
This is normal operation. When error messages are selected for display, no new record data from the program is sent to the screen (or subfile record, in this case).
It works this way to be consistent with the behavior of ERRMSG and ERRMSGID keywords on the green screen.
You can remove this behavior by checking the "Enhanced Mode" box in the "error messages" dialog.
It works this way to be consistent with the behavior of ERRMSG and ERRMSGID keywords on the green screen.
You can remove this behavior by checking the "Enhanced Mode" box in the "error messages" dialog.
-
- Experienced User
- Posts: 100
- Joined: Tue Feb 21, 2012 1:24 pm
- First Name: Robert
- Last Name: Mullis
- Company Name: WRC
- State / Province: Georgia
- Country: United States
- Contact:
Re: Subfile and Error message Issue
Thanks David. I had forgotten about the enhanced mode.
Who is online
Users browsing this forum: No registered users and 0 guests