Question : Jump from main form into sun forms code in lost focus

Hi,
I want to jump from main form into sub form to put code inside lost focus .more details
in main form i have filed call book by that code on enter jump into sub form field call new.

thx

Answer : Jump from main form into sun forms code in lost focus

Hi you set the focus to the subform first and then set the focus to the subform.control

me![SubFormName].setfocus
me![SubFormName].Form![New].setfocus

You could try skipping the first setfocus but I think it works better if it is done in 2 stages.
I'm sure I've read that somewhere.
Random Solutions  
 
programming4us programming4us