Results 1 to 4 of 4
  1. #1
    JRINC is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    9

    Crosstab Column names used

    I created a crosstab query that has months of the year as rows and budget categories as columns. My column headings are now showing the budget category ID #'s. (1, 2, 3 ,4) I want them to show a different field from that table -- i.e. Budget category # (2221, 2252, etc) or I could use the category description (travel, per diem, etc). Either way will work - anything but the single digit ID #'s.

    Thanks!

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536

  3. #3
    JRINC is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    9
    Used this expression:

    Mileage 2731: IIf([BudgetCategory]=”2731”,[Cost],0)

    It now asks for a Parameter Value when run

    Getting all zero's as sum...??

    Last edited by JRINC; 09-29-2011 at 06:39 AM. Reason: Didn't test enough - lol

  4. #4
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    Two questions:
    1. Is 2731 in your budget field a number or text?
    2. What is the parameter request you are seeing?
    Usually, when you get a parameter request in a situation like this, it is caused by a mis spelling of a field, or Access is looking for a field that is not part of the query.

    Check your spellings and field names. If this doesn't resolve, then perhaps you should post a sanitized copy of your db so that we can look at it and analyze the issue. Make sure to dummy up any confidential information. Run a compact and repair to reduce the size. We do not need to see all data, only some sampling records.

    Alan

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

Similar Threads

  1. Query Entity Names, and Column Names
    By Accidental DBA in forum Queries
    Replies: 1
    Last Post: 07-22-2011, 02:38 PM
  2. Replies: 5
    Last Post: 04-24-2011, 03:14 AM
  3. Replies: 2
    Last Post: 04-29-2010, 11:06 PM
  4. Query to get column names in a table
    By access in forum Queries
    Replies: 1
    Last Post: 07-06-2009, 05:10 AM
  5. Query to get column names in a table
    By access in forum Forms
    Replies: 1
    Last Post: 07-01-2009, 02:50 PM

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