auto-tab (part 2)

G

Guest

Hello,

the problem I outlined in the earlier thread is happening again.

The first field is called "Q_No". In the "On Change" event for this field I
have the following:

If Len(Me![Q_No].Text) > 2 Then
Me![S1S1].SetFocus
End If

There must be a problem with the "Q_No" field but I don't what it might be.
Can any one see what the problem might be? Is there something I am missing?

Cheers
 
B

BruceM

I didn't see the earlier thread, but did this code compile correctly? If
Q_No is the name of the control, it should work, although it may not if it
is also the name of the field.
 
G

Guest

I changed the name of the control and that sorted it.

thanks

BruceM said:
I didn't see the earlier thread, but did this code compile correctly? If
Q_No is the name of the control, it should work, although it may not if it
is also the name of the field.

scubadiver said:
Hello,

the problem I outlined in the earlier thread is happening again.

The first field is called "Q_No". In the "On Change" event for this field
I
have the following:

If Len(Me![Q_No].Text) > 2 Then
Me![S1S1].SetFocus
End If

There must be a problem with the "Q_No" field but I don't what it might
be.
Can any one see what the problem might be? Is there something I am
missing?

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top