ACC1x: GP Fault with Button Caption Text Longer Than 2048 |
Q100154
You receive the following error message:
Application Error - MSACCESS caused a General Protection Fault in module MSACCESS.EXE at 0058:40DC.
You may have set the caption of a command button to a text string that is longer than 2048 characters.
Caption length is limited to 2048 characters. Using Access Basic to set the caption to a value larger than 2048 characters can result in unexpected behaviors, such as the error message described above.
Microsoft has confirmed this to be a problem in Microsoft Access version 1.1. This problem no longer occurs in Microsoft Access version 2.0.
Function mod_CreateForm ()
Dim F As Form
Dim C As Control
Set F = CreateForm("", "")
Set C = CreateControl(F.FormName, 104, 0, "", "", 100, 100)
C.Caption = String$(3000, "M")
End Function Additional query words: caption text string GPF GP fault
Keywords : kberrmsg kbusage
Issue type : kbbug
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |