Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cannot Set New Instance of Calendar Form Class

    If I click the calendar button(Comando136) on the startup form of the attached mdb,
    I get the error number 2950: reserved error.

    The offending line is
    <font color=red>Set frmCalOCX = New Form_frmCalendarOCX</font color=red>
    in the GetDateOCX function
    What's wrong with it?

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

    Re: Cannot Set New Instance of Calendar Form Class

    The Menu Bar, Toolbar and Shortcut Menu Bar properties of the calendar form contain non-existing items. If you clear these properties, it should work OK.

  3. #3
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Cannot Set New Instance of Calendar Form Class

    Thank you Hans <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

Posting Permissions

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