Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Run-Time Error 2115

1 view
Skip to first unread message

Rob

unread,
Jan 23, 2008, 2:56:31 PM1/23/08
to
Hi,

I think this is a bug... Access 2000 and Access 2003

I get the following error message... Run-Time error 2115 - The macro or
function set to BeforeUpdate or ValidationRule property for this field is
preventing Microsoft Office Access from saving the data in the field.

To my knowledge, I am NOT using any ValidationRule or any BeforeUpdate
anywhere in the program.

I am using an AfterUpdate on a combobox....

The code is as follows....

Private Sub cboCust_AfterUpdate()

Me.txtCustomer.SetFocus
Me.txtCustomer.Text = Me.cboCust.Column(1) ' THIS IS THE OFFENDING LINE
PER THE DEBUGGER

End Sub

Incidently it does populate the textbox Me.txtCustomer.Text with the proper
value, it just crashes the program.

Any Ideas ?


0 new messages