Hi There! I'm fairly new to access and very new to vba, so this may be an easy fix or maybe I am doing it totally wrong. Either way, I thank anyone who helps in advance 
I am using Access 2007 and have a form in which the user will input text for a contract on 20 separate fields. I wanted the user to be able to type in a field and have the program setfocus to the next field to continue. This is the code that I currently have:
Private Sub Ctl1_Change()
If Len(Me.Ctl1.Text) = 130 Then Ctl2.SetFocus
End Sub
Once I reach the end of the field (at 130), the error box pops up. However, I noticed that if I just continued typing with out stopping, the error box will pop up and close and the cursor will setfocus to the next field.
Could someone help me? I don't know what is going on and after doing some research, I am stuck.
Thanks again
Keahi

I am using Access 2007 and have a form in which the user will input text for a contract on 20 separate fields. I wanted the user to be able to type in a field and have the program setfocus to the next field to continue. This is the code that I currently have:
Private Sub Ctl1_Change()
If Len(Me.Ctl1.Text) = 130 Then Ctl2.SetFocus
End Sub
Once I reach the end of the field (at 130), the error box pops up. However, I noticed that if I just continued typing with out stopping, the error box will pop up and close and the cursor will setfocus to the next field.
Could someone help me? I don't know what is going on and after doing some research, I am stuck.
Thanks again

Keahi