Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Jun 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    527
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Argument not optional (2003)

    How do I call the Form_Open procedure from another part of the module? I do this with other items and it works. However, when I try to do it with the form open procedure, it gives me "argument not optional"

    Thanks,
    Mark

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Argument not optional (2003)

    The Open event procedure has an argument Cancel of type Integer. So you can do something like this:

    Dim blnCancel As Integer
    Call Form_Open(blnCancel)

  3. #3
    4 Star Lounger
    Join Date
    Jun 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    527
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Argument not optional (2003)

    I will give that a try.

    Thanks!

Posting Permissions

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