Page 1 of 1

Selcase function

Posted: June 14th, 2017, 5:19 am
by khurshid.arshad
Dear Team

There is way that cursor don't move forward in "Selcase Function", if i tap the tablet screen other than options.

Thanks.
a.

Re: Selcase function

Posted: June 14th, 2017, 7:38 am
by josh
Tapping outside the box cancels the dialog. In that case selcase returns zero. You can check for that in your logic:
if selcase(OCCUPATION_DICT,"") include(OCCTXT) where pos(strip(AUXILKEY),OCCTXT) = 0 then
    
errmsg("Invalid entry");
    
reenter;
endif;

Re: Selcase function

Posted: June 14th, 2017, 8:46 am
by khurshid.arshad
thanks.
a.