Microsoft KB Archive/119480

{|
 * width="100%"|

PRA: Column Headings Not Displayed in List Box
'Article ID: Q119480

Creation Date: 17-AUG-1994

Revision Date: 19-SEP-1996' The information in this article applies to:


 * Microsoft Access version 2.0

SYMPTOMS

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

Field names are not shown as column headings in a list box even though you set the list box's ColumnHeads property to Yes.

CAUSE

The list box's row source is set to a table or query that returns an empty recordset.

RESOLUTION

In order for field names to be displayed as column headings in a list box, make sure that the list box's row source is set to a table or query that returns records.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access version 2.0. This problem no longer occurs in Microsoft Access for Windows 95 version 7.0.

MORE INFORMATION

Steps to Reproduce Problem


 * 1) Create a new table with no records.
 * 2) Create a blank, new form.
 * 3) Add a list box to the form.
 * 4) Set the list box's RowSource property to the table you created in step 1.
 * 5) Set the list box's ColumnHeads property to Yes.
 * 6) View the form in Form view. Note that the field names are not show as column headings.
 * }

-

"THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

Additional reference words: 2.00

KBCategory: kbusage

KBSubcategory: FmsCmbo