Thanks Razzak, The problem was with my code in the 2nd form (who'd have ever expected that ;').
I've got it working now. Paul > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. > Razzak Memon > Sent: Wednesday, August 13, 2008 11:59 AM > To: RBASE-L Mailing List > Subject: [RBASE-L] - Re: Setting Focus to a Form > > At 11:45 AM 8/13/2008, Paul Buckley wrote: > > >I'm just not doing this right, I know, but I can't see the problem. > >I'm running a second form from the On Exit EEP of a variable edit > >field. When I close the second from, in the EEP code (that opened > >the 2nd form) I have tried both: > > > Paul, > > How about the following code as your On Exit EEP: > > -- Example 01: > -- On Exit EEP > EDIT USING formname WHERE ... ORDER BY ... > SKIP TO col_or_varbame > RETURN > > -- Example 02: > -- On Exit EEP > EDIT USING formname WHERE ... ORDER BY ... > PROPERTY db_or_var_control_ComponentID SET_FOUCUS 'TRUE' > RETURN > > Hope that helps! > > Very Best R:egards, > > Razzak. > >

