Results 1 to 2 of 2

Thread: Set blues

  1. #1
    Join Date
    Dec 2009
    Location
    Antwerp (Belgium)
    Posts
    33

    Unanswered: Set blues

    In Access 2007, I have a "subform control" ctlSubformKlanten2 in a from frmKlanten. That control contains a subform.

    In the form_open of the main form I able to
    Code:
    me.form.ctlSubformKlanten2.form.recordsource = ""
    Why can't I
    Code:
    dim me2 as form
    ...
    set me2 = me.ctlSubformKlanten2.form
    In runtime, it tells me that the I'm addressing an object that is closed or not existing.

    What am I missing?

  2. #2
    Join Date
    Dec 2009
    Location
    Antwerp (Belgium)
    Posts
    33
    OK. Sorry. This works now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •