Les Isaacs
Registered User.
- Local time
- Today, 15:47
- Joined
- May 6, 2008
- Messages
- 186
Hi All
I know this is an 'old chestnut' - and it's one I thought I had cracked: but I'm getting an error and don't know why
I have a main form [form1] with two subforms [frmEnterResults] and [frmOFResults]. The AfterInsert event for [frmEnterResults] is:
Forms!form1.frmOFResults.Form.Requery
But when I enter a new record on the subform [frmEnterResults] I get
"runtime error 2465 Application-defined or object-defined error"
The same thing happens if I open [frmEnterResults] directly (rather than as a subform of [form1]) and enter a new record.
I really though I knew the syntax for referring to subforms, but seemingly not:banghead:
If anyone can help I'd be extremely grateful.
Many thanks
Les
I know this is an 'old chestnut' - and it's one I thought I had cracked: but I'm getting an error and don't know why
I have a main form [form1] with two subforms [frmEnterResults] and [frmOFResults]. The AfterInsert event for [frmEnterResults] is:
Forms!form1.frmOFResults.Form.Requery
But when I enter a new record on the subform [frmEnterResults] I get
"runtime error 2465 Application-defined or object-defined error"
The same thing happens if I open [frmEnterResults] directly (rather than as a subform of [form1]) and enter a new record.
I really though I knew the syntax for referring to subforms, but seemingly not:banghead:
If anyone can help I'd be extremely grateful.
Many thanks
Les