Cursor insertion point in locked field

  • Thread starter Bill Sturdevant
  • 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?
 
G

Gina

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...
 
D

Dirk Goldgar

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.
 

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