Hi Folk
Can someone help me with this ?

I have a form with 20 odd text boxes
There is also a grid with 9 rows/3 columns

In the Grid, in the valid of 3rd column is the following

IF LASTKEY()=13
   IF level=9 AND UPPER(varread())="MARGIN"
   && margin is the 3rd column
      WAIT WINDOW NOWAIT 'It should flick out at this point'
      RETURN thisform.pageframe1.page1.text16    && this avoids error
Cannot call setfocus........
   else
      KEYBOARD '{DNARROW}'
   endif
ENDIF

Why does it not exit the grid and set focus to text16 ?

-- 
Regards
Sytze de Boer
Kiss Systems
Hamilton, NZ
Ph: 64-7-8391670, Mob:64 21 937611
URL: www.kiss.co.nz

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to