Results 1 to 5 of 5
  1. #1
    tngirl is offline Novice
    Windows XP Access 2003
    Join Date
    May 2013
    Posts
    20

    call specific start date in crosstab query

    I am working in a cross tab query for the first time so I appreciate all the support you can provide.



    The purpose of my query is to provide a rolling 12 month report with data by month. The column headings are the months. Unfortunately I inherited this database and it is not formated the best way possible and the table I'm using actually has a field name "date" so maybe that is the issue, I'm not sure. I read in a previous post to add a where clause in the query to prompt for the start date..

    Field = Date
    Table = QualityFiles
    Total = Where
    Criteria = >=[startdate]

    This is not working at all for me, so then I thought I would lauch a form requesting the start date so I used the form name and it would not work either.

    Criteria = >=[forms]![Report Date Start]![StartDate]

    Can you help to show me what I'm doing wrong in my crosstab query? Thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    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
    tngirl is offline Novice
    Windows XP Access 2003
    Join Date
    May 2013
    Posts
    20
    I've read these posts and they are not helping me at all. Is a crosstab query not the best option to gather this data? Thank you,

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Why don't they help? Those are really comprehensive references. What have you tried? Post your attempted SQL.

    If you want to pivot the data, then CROSSTAB is query tool for that purpose.

    However, as the Allen Browne article indicates, filter criteria in CROSSTAB works differently. Did you try the technique described?
    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.

  5. #5
    tngirl is offline Novice
    Windows XP Access 2003
    Join Date
    May 2013
    Posts
    20
    Thank you, I order Microsoft Office Access 2007 Inside Out and it came last night. I was able to look up the declare the parameter option that was referenced in the link you provided. Thank you for your help :-)

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

Similar Threads

  1. Start Autonumber at a specific number
    By EmptyPage in forum Access
    Replies: 2
    Last Post: 12-20-2013, 02:28 AM
  2. Crosstab query with date range (2 years)
    By Cassim in forum Queries
    Replies: 7
    Last Post: 11-11-2013, 08:48 AM
  3. Date not Properly Formatted in Crosstab Query
    By eliascm in forum Queries
    Replies: 4
    Last Post: 02-10-2012, 04:49 AM
  4. Start & End Date Query
    By batowl in forum Queries
    Replies: 1
    Last Post: 05-16-2011, 09:11 AM
  5. Replies: 20
    Last Post: 02-14-2011, 10:55 AM

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