BUG: Errors with Duplicate Keys and Modal/Modeless Forms
Article ID: 137036
Article Last Modified on 10/30/2003
APPLIES TO
- Microsoft Visual Basic 3.0 Professional Edition
- Microsoft Visual Basic 3.0 Professional Edition
This article was previously published under Q137036
SYMPTOMS
When you enter a duplicate value for a key field, you will notice different
behavior depending on whether the form is shown as modal or modeless. When
you have a modeless form and a duplicate value for a key field, the error
"Can't have duplicate key; index changes were unsuccessful" appears as you
try to move to the next record. When you have a modal form, this error
appears as you try to unload the form. In both cases, Visual Basic does not
save the duplicate data.
STATUS
Microsoft has confirmed this to be a problem in Visual Basic version 3.0
for Windows. We are researching this problem and will post new information
here in the Microsoft Knowledge Base as it becomes available.
Additional query words: 3.00
Keywords: kbbug KB137036