For years code I use in the on after start EEP of a form has worked in setting focus to the scrolling region and a specific field in the scrolling region when certain criteria has been met. The code uses PROPERTY commands to perform this task.
Earlier this year all of a sudden this code stopped working. The only PROPERTY command that works is PROPERTY comp_shiprows SET_FOCUS 'TRUE' (I can see the dotted outline of the focused row). Of course this is not what I am after. Below is the code I have used for years. PROPERTY comp_shiprows SET_FOCUS 'TRUE' PROPERTY comp_orow SET_FOCUS 'TRUE' I have tested in the trace mode and get interesting results. 1. If I am in the trace mode and go through the code one line at a time, the code works meaning the scrolling region line is focused and the scrolling region field receives the focus and the background color. [cid:[email protected]] 1. If I am in the trace mode and go through the code using the "execute to break" button, the code works meaning the scrolling region line is focused and the scrolling region field receives the focus and the background color. 2. If I am in the trace mode and go through the code using the "execute to error" button, the scrolling region row is focused (outlined with a broken line) but the field does not receive the focus and the background color does not show. 3. If I use the form in real time, no trace, the scrolling region row is focused (outlined with a broken line) but the field does not receive the focus and the background color does not show. It almost seems as if there needs to be another "click" after this command (PROPERTY comp_shiprows SET_FOCUS 'TRUE') in order for the field PROPERTY commands to work. Any "blues clues" from the list would be appreciated. My users are use to the filed being highlighted and with autoselect and yellow background, they are not entering all the info needed on this form. James Belisle Making Information Systems People Friendly Since 1990 [cid:[email protected]] -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/SA0PR02MB7434FF1EC8CD6E68F73FC1E4A0189%40SA0PR02MB7434.namprd02.prod.outlook.com.

