• ActiveX Calendar Control (Access 2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » ActiveX Calendar Control (Access 2000)

    Author
    Topic
    #359796

    I am attaching a sample db…if someone could take a look at it, I would appreciate it.

    The problem….if I open frmSelectDate normally, it works just fine. However, if I open frmSelectDate using frmCode and Selecting either Employee or Benefits, I can’t make a DAY selection from the calendar.

    FYI…I have OpenArgs in the OnOpen event of frmSelectDate.

    I would sure appreciate it if someone could provide the solution.

    Hair is almost gone….lol

    Thanks

    Viewing 0 reply threads
    Author
    Replies
    • #540286

      Roberta,

      In you code you open your form Readonly.
      Remove Readonly and you can select a day.

      Hope this is what you want.

      • #540301

        Francois,

        I checked the properties for ReadOnly and they are Enabled=yes and Locked=No.

        I also checked to see if they were changing if the form was opened via a control button, but they are still correct.

        That doesn’t seem to be the problem.

        Any other suggestion?
        Thanks

        • #540304

          Roberta,

          In the code of the form frmCode for Command7_Click event you have a line :
          DoCmd.OpenForm “frmSelectDate”, acNormal, , , acReadOnly, , “Employee”
          and for Command8_Click event :
          DoCmd.OpenForm “frmSelectDate”, acNormal, , , acReadOnly, , “EmployeeBenefits”

          These two lines should be :
          for Command7_Click
          DoCmd.OpenForm “frmSelectDate”, acNormal, , , , , “Employee”
          and for Command8_Click
          DoCmd.OpenForm “frmSelectDate”, acNormal, , , , , “EmployeeBenefits”

          If you are not familiar with VBA, open you frmCode in design mode and press ALT+F11, you will see the code and be able to modify it.

          • #540305

            Francois,

            Thank you so much…duh…I feel soooooo dumb…It works perfectly now.

    Viewing 0 reply threads
    Reply To: Reply #540301 in ActiveX Calendar Control (Access 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel