|
-
Jan 14th, 2004, 07:10 PM
#1
Thread Starter
Hyperactive Member
Subforms: this should be easy [RESOLVED]
I'm working with VBA/Access 2000.
I have a frmForm and a frmSubform. The subform is independant, no child link and all. It shows a customer's info (name, adress and so on).
I want the subform to go to a newrecord. I've tried the following "GoToRecord" method, with no succes:
DoCmd.GoToRecord acDataForm, Forms!frmForm.frmSubform.Form.Name, acNewRec
I get the error: "The Object 'frmCustomer' isn't open".
...so it gets the form name alright, but because it's in a subform (?), it says it isn't opened.
Any idea? Thanks
Last edited by Krass; Jan 14th, 2004 at 08:12 PM.
Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|