Selcase function

Discussions about CSEntry
Post Reply
khurshid.arshad
Posts: 572
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Selcase function

Post 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.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Selcase function

Post 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;
khurshid.arshad
Posts: 572
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: Selcase function

Post by khurshid.arshad »

thanks.
a.
Post Reply