Results 1 to 7 of 7
  1. #1
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383

    Reports By Date or use Customer Report Menu Not Both?

    I have a popup form that shows the list of ALL reports and you can then use a start and end date. Some Reports I do not want on this list as they could cause problems, Do I create a list of select reports but how then do I use a start and end date as my criteria for certain reports? How best to approach this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Don't understand the issue.

    Are you building reports with parameterized queries? If you don't want a report to use start and end dates criteria then don't design the report to use them.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    The Reports themselves don't have date criteria.I was using a form with the list of ALL Reports and then the user could choose a report from the list. There are some Reports I don't want on this list and there are some forms that build the Report from their data and so the Reports is essentially unbound, hence the need for this issue!

    A dilemma but not a major show stopper. I am surely not unique to this issue unless I am just special? Hmm, I think not!
    No doubt I will have to go back and redesign some forms to allow resolving this issue.

    Thanks,

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    Suggest you make a list of the Reports you want and use that for the list of Reports available for selection.

    If reports need Report period start and end dates, then make that part of the openargs, or par tof the underlying recordsource for the report(s) involved.

  5. #5
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Good idea. I don't know about the the Open Args thing. I will try and implement some code to open a date criteria form instead of the form itself first. Some Reports such as SubReports I dont want in the list so that option is out.

    Thanks,

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    Here's a post re OPenArgs
    https://www.accessforums.net/program...ort-12506.html

    You can probably find more in Access help, or google.

    There is a sample program by Allen Browne that uses OpenArgs on a Report
    at
    http://allenbrowne.com/ser-50.html

    Martin Green has a number of Access tips
    Here's some about Dynamic reports.
    http://www.fontstuff.com/access/acctut19.htm

  7. #7
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Many Thanks for that Help.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Run Report For Each Customer
    By rivergum_23 in forum Queries
    Replies: 1
    Last Post: 04-29-2012, 12:53 PM
  2. Replies: 1
    Last Post: 12-24-2011, 08:48 AM
  3. Replies: 1
    Last Post: 10-26-2011, 05:13 AM
  4. Replies: 1
    Last Post: 06-03-2011, 04:17 AM
  5. Customer History Tabular Report
    By avarusbrightfyre in forum Reports
    Replies: 0
    Last Post: 03-02-2011, 04:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums