Well, thanks to SJ McAbney I have a nice chart on referencing subforms from the main form and what not. I'm still having trouble making it work, so I am sure there is something that I don't understand here.
When I click the cmdNewCat Button, I get this error:
Run-time error '-2146500594 (800f000e)':
Method 'Form' of object '_SubForm failed
Anybody know what I'm doing wrong?
Code:
Private Sub cmdNewCat_Click()
Me.frmNavSNewCat.Visible = True
Me!frmNavSNewCat.Form!txtCatParID = Me.txtCurrent '<---This is the one the debugger highlights.
Me!FrmNamsNewCat.Form!txtCatName = ""
Me!FrmNamsNewCat.Form!txtCatNote = ""
End Sub
When I click the cmdNewCat Button, I get this error:
Run-time error '-2146500594 (800f000e)':
Method 'Form' of object '_SubForm failed
Anybody know what I'm doing wrong?