Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2005
    Posts
    614
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Select Date - Run Report (Access97)

    I am having a form with a list box where dates should be displayed.
    I am Running Report that is suppose to run for Selected in ListBox dates.
    What is the best way to do it to insure Report performance? Simple but forever...[img]/forums/images/smilies/smile.gif[/img]
    Also multiply dates can be chosen.

    Report is based on table that has Date field or it can be a query that pulls Distinct date to display in ListBox.
    Thanks

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

    Re: Select Date - Run Report (Access97)

    Set the MultiSelect property of the list box to Single or Extended. This allows the user to select more than one item.
    <post#=205119>post 205119</post#> contains a method for using the selected items in the WHERE-condition of an SQL statement. That technique can easily be adapted for use in opening a report.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2005
    Posts
    614
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Select Date - Run Report (Access97)

    Thank you HansV, will try.

Posting Permissions

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