SetFocus

  • Thread starter Thread starter CSM
  • Start date Start date
C

CSM

I want to have the cursor go to a Field called CIDR when
ever I go to a new for (or just looking through the data
in form view. Can someone tell me how to make the cyrsor
go to a specific field whenever you navigate to a
different record?

Thanks you,
 
You would put the setfocus statement in the Forms ONCURRENT event...

Private Sub Form_Current()
CIDR.SetFocus
End Sub





Rick B



I want to have the cursor go to a Field called CIDR when
ever I go to a new for (or just looking through the data
in form view. Can someone tell me how to make the cyrsor
go to a specific field whenever you navigate to a
different record?

Thanks you,
 
CSM said:
I want to have the cursor go to a Field called CIDR when
ever I go to a new for (or just looking through the data
in form view. Can someone tell me how to make the cyrsor
go to a specific field whenever you navigate to a
different record?

In the Current event of the form...

Me.ControlName.SetFocus
 
Back
Top