J
John T. Riordan
Using Access 2002 with Windows XP
My form is producing the following error dialog when
opening and when changing from design view to form view:
"The expression SelChange you entered as the event
property settings produced the following error: User-
defined type not defined."
I get a similar dialog after I click OK two times stating
the same but instead of 'SelChange' it says 'MouseMove'.
When I click through on OK the form begins to function
normally.
I have checked all the event procedures and none of them
include these expressions. I basically have two event
procedures for two identical controls:
****
Private Sub Trett_CommentFMS_GotFocus()
Me.Dirty = True
End Sub
****
and
****
Private Sub Form_BeforeUpdate(Cancel As Integer)
'Assign the text representation to the text field
[Statement] = [StatementFMS].Text
[Trett Comment] = [Trett CommentFMS].Text
End Sub
****
Does anyone know what may be going wrong? This form
worked fine in another database which was copied for this
database.
I have checked the References and the correct ones seem
to be ticked.
Thanks in advance for your help,
John T. Riordan
Trett Consulting b.v.
www.Trett.com
My form is producing the following error dialog when
opening and when changing from design view to form view:
"The expression SelChange you entered as the event
property settings produced the following error: User-
defined type not defined."
I get a similar dialog after I click OK two times stating
the same but instead of 'SelChange' it says 'MouseMove'.
When I click through on OK the form begins to function
normally.
I have checked all the event procedures and none of them
include these expressions. I basically have two event
procedures for two identical controls:
****
Private Sub Trett_CommentFMS_GotFocus()
Me.Dirty = True
End Sub
****
and
****
Private Sub Form_BeforeUpdate(Cancel As Integer)
'Assign the text representation to the text field
[Statement] = [StatementFMS].Text
[Trett Comment] = [Trett CommentFMS].Text
End Sub
****
Does anyone know what may be going wrong? This form
worked fine in another database which was copied for this
database.
I have checked the References and the correct ones seem
to be ticked.
Thanks in advance for your help,
John T. Riordan
Trett Consulting b.v.
www.Trett.com