• ACC97: Using a calendercontrol

    Author
    Topic
    #354286

    Hello,
    I want to use the ActiveX object CalendarControl to select a start and an enddate for printing reports
    I know that I can use the Where statement in a macro to call the report, but how do I use the ActiveX object to control the Where statement?

    Viewing 1 reply thread
    Author
    Replies
    • #520261

      You can put the ActiveX control on a form, and use the selected value in the ActiveX control in a where statement.
      If you want to select a start and a end date, just put two CalenderControl objects on the form.
      Make sure the date is presented in the where clause in the format mm/dd/yyyy!

    • #520306

      After some tries and clear thinking, I solved my problems and it works now.
      Thanks to you all

    Viewing 1 reply thread
    Reply To: ACC97: Using a calendercontrol

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

    Your information: