Microsoft Knowledge Base Email Alertz

(209024) - When you select a form or report wizard, the wizard's move buttons are not available (dimmed) and no fields appear in the Available Fields list when you select the form or report wizard.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 209024 - Last Review: June 30, 2004 - Revision: 2.0

ACC2000: Cannot Add Fields to Form or Report When Using Wizard

This article was previously published under Q209024
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies only to a Microsoft Access database (.mdb).

On This Page

SYMPTOMS

When you select a form or report wizard, the wizard's move buttons are not available (dimmed) and no fields appear in the Available Fields list when you select the form or report wizard.

CAUSE

The query that is selected for the form or report wizard is a parameterized crosstab query. The wizards require fixed column headings so that you can select the fields to be displayed on the form or report.

RESOLUTION

There are three workarounds for this behavior:

  • Define column headings for the crosstab query. Use the ColumnHeadings property.
  • Instead of using parameters, enter value ranges in the crosstab query. For example, in the Criteria row of the parameterized field, replace between [Start Date] and [End Date] with between #5/15/97# and #5/25/97#.
  • Export the results of the query to a Microsoft Excel spreadsheet file, and then import that file into Microsoft Access.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open the sample database Northwind.mdb. Create a new query based on the Orders table. Then, on the Query menu, click Crosstab Query. Create the following query:
       Query: Test Wizard
       --------------------
       Type: crosstab query
    
       Field: EmployeeID
          Table: Orders
          Total: Group By
          Crosstab: Row Heading
    
       Field: OrderDate
          Table: Orders
          Total: Group By
          Crosstab: Column Heading
          Criteria: Between [Start Date] and [End Date]
    
       Field: Freight
          Table: Orders
          Total: Sum
          Crosstab: Value
    					
  2. On the Query menu, click Parameters. Define Start Date and End Date as Date/Time data types.
  3. Save the query, and then run it. Type 5/10/97 as the start date and 5/15/97 as the end date. Close the query.
  4. In the Database window, click Forms under Objects, and then click New.
  5. In the Choose the table or query where the object's data comes from box, select the Test Wizard query. Click Form Wizard, and then click OK.

REFERENCES

For more information about column headings, click Microsoft Access Help on the Help menu, type ColumnHeadings property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

APPLIES TO
  • Microsoft Access 2000 Standard Edition
Keywords: 
kbprb KB209024
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate