T
tobesurveyor via AccessMonster.com
Good morning,
I was given this code in my last posting concerning not showing the pop-up
letting me know the spelling check was complete.
With Me.sometextbox
.Setfocus
,SelStart = 0
.SelLength = 32000
Docmd.SetWarnings false
DoCmd.Runcommand acCmdSpelling
Docmd.SetWarnings true
End With
When I put this code in my AfterUpdate Event it gives me an error code: "The
macro or function set the BeforeUpdate or ValidateRule property for this
field is preventing Microsoft Access from saving the data in the field"
To see it were some other code I had that may be conflicting with this, I
created a real quick database, created a unbound text box on a form and set
the AfterUpdate Event to the above code. No other code exists in this form,
but it gives me the same error.
I think the answer is right in front of my nose but can't seem to put my hand
on it. Any help would be greatly appreciated.
Thanks,
Chris
I was given this code in my last posting concerning not showing the pop-up
letting me know the spelling check was complete.
With Me.sometextbox
.Setfocus
,SelStart = 0
.SelLength = 32000
Docmd.SetWarnings false
DoCmd.Runcommand acCmdSpelling
Docmd.SetWarnings true
End With
When I put this code in my AfterUpdate Event it gives me an error code: "The
macro or function set the BeforeUpdate or ValidateRule property for this
field is preventing Microsoft Access from saving the data in the field"
To see it were some other code I had that may be conflicting with this, I
created a real quick database, created a unbound text box on a form and set
the AfterUpdate Event to the above code. No other code exists in this form,
but it gives me the same error.
I think the answer is right in front of my nose but can't seem to put my hand
on it. Any help would be greatly appreciated.
Thanks,
Chris