ACC2000: Error When You Type in a List Box That Is Based on a Text Field That Has a Format Character Defined

ID: Q248933


The information in this article applies to:
  • Microsoft Access 2000

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

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


SYMPTOMS

If you press a numeric or an alphabetic key on the keyboard while focus is in a list box that is based on a text field which has a format character defined, you may receive the following error message.

In Windows 95 or Windows 98:
This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.
When you click Details, the following message appears:
MSACCESS caused an invalid page fault in module MSACCESS.EXE at 015f:3030df85.
NOTE: The actual memory address may vary.

In Windows NT 4.0:
MSACCESS.EXE - Application Error The instruction at "0x3003436d" referenced memory at "0x039c05d4". The memory could not be "written".
NOTE: The actual addresses in the error may vary.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create the following new table:


  2. 
       Table: Table1
       ---------------------
       Field Name: ID
       Data Type: AutoNumber
    
       Field Name: F1
       Data Type: Text 
  3. Save the table as Table1. Do not add a primary key.


  4. In Datasheet view, type some sample data in the Table1 table, and then close it.


  5. Use the Form wizard to create a new form based on the Table1 table.


  6. View the form in Design view.


  7. Add a list box to the form, and then set the properties of the list box as follows:


  8. RowSource = Table1
    ColumnCount = 2
    ColumnWidths = 0;1
  9. View the form in Form view. Select any item in the list box, and then press one of the numeric or alphabetic keys on the keyboard (including SPACEBAR). Note that the appropriate item in the list box is selected.


  10. Save the form, and then close it.


  11. View the Table1 table in Design view, and set the Format property of the F1 text field to the all-uppercase format character (>).


  12. Save the table, and then close it.


  13. View the form in Form view. Select any item in the list box, and then press one of the numeric or alphabetic keys on the keyboard (including SPACEBAR). Note that you receive the error message mentioned in the "Symptoms" section.


Additional query words: pra

Keywords : kbdta
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.