Set Focus on Control

Dear All,

Please tell me how to set Focus on Particular Control at Runtime. I tried the Activate Function but it doesn’t work…!.My requirement is after showing Error Message need to set the Focus on one Partcular Control.

please Help[:D]

I w’d Appreciate if anyone could answer this

Thanks & Regards

Rose

Hi Rose,

I’m assuming you are using the ERROR command which will rollback and put you into the previous screen. If there is no rollback requirement e.g. testing a field input then use the MESSAGE command and then the ACTIVATE function will work.