ACC2000:Combo Box Wizard Doesn't Display Third Option w/SQL Stmt

ID: Q198947


The information in this article applies to:

Novice: Requires knowledge of the user interface on single-user computers.


SYMPTOMS

When you use the Combo Box Wizard to create a combo box on a form that is not based on any table or query or based on a SQL statement, only two options appear on the first screen of the wizard. The following option does not appear:

Find a record on my form based on the value I selected in my combo box.


CAUSE

The form that contains the combo box must be based on a table or query before the Combo Box Wizard can display the third option.


RESOLUTION

To make the third option available in the Combo Box Wizard, create a query based on your SQL statement and use that query as the RecordSource property of the form.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Open the sample database Northwind.mdb.


  2. Create a form not based on any table or query and type the following for the RecordSource property:


  3. Select * from Employees;
  4. Enable the Control Wizards button on the Toolbox toolbar, and then add a combo box to the form.


  5. The Combo Box Wizard starts and displays the first two options.



REFERENCES

For additional information about the Combo Box Wizard, please see the following article in the Microsoft Knowledge Base:

Q208807 ACC2000: Combo Box Wizard Does Not Allow Selection of Table/Query

Additional query words:


Keywords          : kbusage kbdta FmsCmbo FmsCmbob 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 13, 1999