Results 1 to 7 of 7

Thread: Subforms: this should be easy [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489

    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
  •  



Click Here to Expand Forum to Full Width