Cursor insertion point in locked field

  • Thread starter Thread starter Bill Sturdevant
  • Start date Start date
B

Bill Sturdevant

I have a form that only displays data. All fields are
locked and no edits are allowed.

Every time I open the form, the first field of the first
record displayed (continuous forms) is hilighted and the
cursor is blinking in it. I cannot enter any data because
the field is locked as I want it to be.

I have tried setting the focus to a button in the footer,
and the button gets the focus, but the field is still
selected.

How do I stop the field from being selected or have the
cursor in it?
 
In Design View to the form, on the menubar go to View...
Tab Order... and set the cmdBtn or whatever you want to
the cursor to go first there and that should solve that
problem.

Hope that helps...
 
Bill Sturdevant said:
I have a form that only displays data. All fields are
locked and no edits are allowed.

Every time I open the form, the first field of the first
record displayed (continuous forms) is hilighted and the
cursor is blinking in it. I cannot enter any data because
the field is locked as I want it to be.

I have tried setting the focus to a button in the footer,
and the button gets the focus, but the field is still
selected.

How do I stop the field from being selected or have the
cursor in it?

If you don't want these locked controls *ever* to have the focus, you
can set their Enabled properties to No, as well as setting their Locked
properties to Yes. However, this will prevent the user from putting the
focus in one of these controls to do a find or filter.
 
Back
Top