I have a main form [frmTransactions] containing a sub form [fsubOfficeSuppliesCatBre]
I want to open the form go to the sub form and set the focus to the [CatBreBrand] fieldin the sub form.
I tried thefollowing code, with the resulting error message?
DoCmd.OpenForm "frmTransactions",acNormal, "", "", , acNormal
DoCmd.GoToRecord acForm,"frmTransactions", acLast
Me.fsubOfficeSuppliesCatBreak.SetFocus
Me. fsubOfficeSuppliesCatBreak!CatBreGrocBrand.SetFocu s
****************************************
Error
CompileError
Method orData Member Not Found
****************************************
What am I doing wrong ????