You can use the RaiseEvent() in valid and do it that way Dave
-----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Andrew Stirling Sent: 28 February 2014 14:36 To: [email protected] Subject: Leaving a grid box via valid Hi I have a grid with a single column (test1) that will accept double click or 'Y' / 'N' With the double click I can go to the next place via thisform.cmdSendTest.setfocus To accept the 'Y' I use the Valid event, Valid event does not allow setfocus, so I use RETURN thisform.cmdSendTest Unfortunately its not working. any ideas? -- Kind regards Andrew Stirling 01250 874580 [email protected] http://www.calcpay.co.uk [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.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.

