ACC97: IPF After Changing Toggle Buttons in Option Group

ID: Q163352


The information in this article applies to:


SYMPTOMS

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

If you change toggle button controls in an option group on a form to option buttons (or, in some cases, to check boxes), you may receive the following error message, and then Microsoft Access quits.

In Microsoft Windows 95

This program has performed an illegal operation and will be shut down.

Pressing the Details button displays the following:

MSACCESS caused and invalid page fault in module MSACCESS.EXE

In Microsoft Windows NT

An application error has occurred and an application error log is being generated.

MSACCESS.EXE
Exception: access violation 0xc0000005, Address: 0x30036e02"



RESOLUTION

Delete the option group and recreate it with a different type of control within the option group. If any Visual Basic for Applications code is attached to the option group, you must recreate it also.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 97.


MORE INFORMATION

Steps to Reproduce Problem


  1. Open the sample database Northwind.mdb, and create a new form not based on any table or query in Design view. Name the form frmTest.


  2. Add an option group to the detail section of the form using the Option Group Wizard.


  3. On the first screen of the wizard, enter aa, bb, and cc in the Label Names column, and then click Next.


  4. On the second screen of the wizard, click "No, I don't want a default," and then click Next.


  5. Accept the defaults and click Next on the third screen of the wizard.


  6. Click Toggle buttons for the type of controls you want within the option group, and then click Finish.


  7. Save the form.


  8. Change the toggle buttons to option buttons by using the right mouse button to click the toggle button, pointing to Change To, and then clicking Option Button. Repeat for each of the three toggle buttons.


  9. Save the form, and then close it. Note that you receive the error message when the form closes.



REFERENCES

For more information about using option groups in your forms, search the Help Index for "option groups," or ask the Microsoft Access 97 Office Assistant.

Additional query words: GPF


Keywords          : kberrmsg kbusage 
Version           : 97
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 13, 1999