Cancel NEXT automatic property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello!

I have a form with many fields but only four to data entry.
When click in last field, change to next record.
I would like cancel this property and only change next record trough command
buton: NEXT RECORD.

Thanks in advance.
an
 
Hi,
I have a form with many fields but only four to data entry.
When click in last field, change to next record.
I would like cancel this property and only change next record trough command
buton: NEXT RECORD.

try to change the Cycle Property of your form.

HTH.

Thomas
 
Just to clarify:

"When click in last field, change to next record"

If I understand you correctly, you are saying that when you click your
mouse in this field, the database moves to the next record? If this
is so, then you more than likely will have an on_click event behind
this field.

If you mean that after you move off of this final field, which I
suspect is what is happening, then you can add some simple code to
manage this:

Private Sub Text4_LostFocus()
Text1.SetFocus
End Sub
 
SiJP

Thanks for your reply.
I don't understand:

Text4 and Text1

Grateful
an

SiJP said:
Just to clarify:

"When click in last field, change to next record"

If I understand you correctly, you are saying that when you click your
mouse in this field, the database moves to the next record? If this
is so, then you more than likely will have an on_click event behind
this field.

If you mean that after you move off of this final field, which I
suspect is what is happening, then you can add some simple code to
manage this:

Private Sub Text4_LostFocus()
Text1.SetFocus
End Sub
 

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

Back
Top