Results 1 to 7 of 7
  1. #1
    Nixx1401 is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Feb 2010
    Location
    Barbados
    Posts
    115

    Cross Tab Queries

    I created a crosstab query which I am trying to use to generate a report or form but the wizard is displaying any fields to be selected from the query.



    This is the query

    Field StrMailType
    Table tblTransaction
    Total Group by
    Crosstab Row Heading

    Field StrProcess
    Table tblTransaction
    Total Group by
    Crosstab Column Heading

    Field StrTransNo
    Table tblTransaction
    Total Count
    Crosstab Value

    Field DteDate
    Table tblTransaction
    Total Where
    Criteria Between [Beginning Date] and [Ending Date]

    Field StrProcess
    Table tblTransaction
    Total Where
    Criteria "In"

    I declared the criteria date in parameter in the query window and the query ran fine. It is I am unable to use it in a report or form.

  2. #2
    llkhoutx is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    Your form, with a crostable query record source, will have multiple records. Use a continuous form, with fields on one row.

    Your report, with a crosstab query record source, will similarily have a detail section with one row.

    A crosstab query displays multiple rows, treat your form and report accordingly.

  3. #3
    Nixx1401 is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Feb 2010
    Location
    Barbados
    Posts
    115
    I created a crosstab query which I am trying to use to generate a report or form but the wizard is not displaying any fields to be selected from the query.

    Not was left out of the introduction to the problems quoted above. Would your response still apply? If so can you elaborate some more dont quite understand.

  4. #4
    llkhoutx is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    If the something you try to do with a wizard isn't doing what you think it should, try something else. Access is very forgiving.

    Manually build the report.

  5. #5
    Nixx1401 is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Feb 2010
    Location
    Barbados
    Posts
    115
    The query now runs in design grid but when i try to build the report manually using the query it prompts for the beginning date and ending date and this prompts constantly repeats. Can you offer another way to accomplish this task. I have a transaction table which have the following fields: TransNo, TransDate, MailType, Process, VisitorNo, ChildNo. I would like to generate the total number of Process for each mail type with in a given date. The mailtypes are Letter, Visits, Postcards. The processes are In and Out.

  6. #6
    llkhoutx is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    It prompts for the dates because the prompt is probably in the query.

    Store the start and stop dates in (maybe hidden) controls on a form and then reference those controls appropriately in your report.

  7. #7
    Nixx1401 is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Feb 2010
    Location
    Barbados
    Posts
    115
    ok thank you

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

Similar Threads

  1. How do I use a MODULE in a Cross-Tab Query?
    By timo1999 in forum Modules
    Replies: 2
    Last Post: 12-13-2014, 04:51 PM
  2. Cross Tab on Select Query
    By gazzieh in forum Queries
    Replies: 1
    Last Post: 02-04-2010, 12:07 PM
  3. Cross check data from 2 sources
    By Zukster in forum Queries
    Replies: 7
    Last Post: 09-22-2009, 10:54 AM
  4. Cross Tab Query
    By nengster in forum Queries
    Replies: 0
    Last Post: 02-18-2009, 07:12 PM
  5. access cross tab query
    By Hossam in forum Access
    Replies: 0
    Last Post: 11-10-2008, 06:01 AM

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