Results 1 to 3 of 3
  1. #1
    3 Star Lounger siflaar's Avatar
    Join Date
    Jan 2001
    Location
    Amersfoort, Netherlands
    Posts
    203
    Thanks
    4
    Thanked 0 Times in 0 Posts

    ACC97: Using a calendercontrol

    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?
    Greetings,

    Patrick Schouten
    (The Netherlands)

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    The Netherlands
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ACC97: Using a calendercontrol

    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!

  3. #3
    3 Star Lounger siflaar's Avatar
    Join Date
    Jan 2001
    Location
    Amersfoort, Netherlands
    Posts
    203
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Re: ACC97: Using a calendercontrol

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

    Patrick Schouten
    (The Netherlands)

Posting Permissions

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