Activating cursor in a text box

S

Suawek

Hi,

I have a problem that for sure is just a simple trap I got into. I need to
relocate cursor to the first record (actually any record) in a subform and
activate it (so it is blinking) to enable PageDown. I use of course SetFocus,
I even select some text in the field like in the example below
Me.NameAndFirstName.SetFocus
Me.NameAndFirstName.SelStart = 0
Me.NameAndFirstName.SelLength = 5

/of course simple set focus is not working as well/
/I checked with fields enabled, disabled, locked and unlocked/

The problem is that the cursor is not blinking, so when I hit PageDown
button, Access greets me with joyful beep. What can I do to sort the problem
and make this small iritating thing working?

Thanks in advance

Slawek
 

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