Wow i may as well live on this forum now!
At least im starting to answer questions for people now with my basic knowledge
Anyway i have a form [A] with fields [ONE] and [TWO]
Then i have another form [B]
When you type something in [ONE] and press enter, it sets focus to [TWO] (so that the text is 'saved' in [ONE]) then it opens new form [B]
My issue is when i close [B] the focus still goes back to [TWO] but i want it go back to [ONE]
I have tried
!forms![A]![ONE].setfocus but it doesnt seem to work, it keeps going back to [TWO]
My code for ON LOAD of [B]
Code:
If lstSuburb.ListCount = 0 ThenMsgBox ("No Suburb Found")
Forms![ChemTrial]![SuburbID].Value = ""
DoCmd.Close
Forms![ChemTrial].SetFocus
Forms![ChemTrial]![txtSuburb].SetFocus
Exit Sub
ideas? where am i going wrong?