Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cursor is not blinking for user input as expected. 1

Status
Not open for further replies.

Sherman6789

Programmer
Nov 12, 2002
127
US

I have a database with a few records in it. When the form is first opened, the cursor blinks in the first field prompting the user to input data. However, when the user moves to another record or returns to the first record, there is no cursor blinking. The user has to click in a field and begin typing. This is also true when a new record is added. When the screen does not have a blinking cursor, the user has to click in a field and begin entering data.

All of my other databases give a blinking cursor or highlights the data in the current field of the form at all times.

How can I force the blinker prompt the user to enter data and in what field. I am aware of the method of changing the tab order. This does not seem to work on the above problem. Is it possible that I need to change some setting?
I have also copied the database and opened the new copy with the dame results.

Thanks for your assistance.

WRS
 
You may use the SetFocus method in the Current event procedure of the form.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Since I wrote the question, I have tried another approach. In the same database, I created another Form with the same fields on it. Everything works as expected including the blinking cursor/prompts. This makes me think that the problem is actually in the form. The actual form took a lot of time to create. The new Form is very simple. Before I spend a lot of time creating a duplicate form, can anyone think of what might have happened?. Are there settings that I could have changed, by accident, which control the blinking cursor?

Any assistance will help. I will; however, study the "SetFocus" suggested by PHV.

Thank you.

WS
 
Have you tried PHV's suggestion? I use the On current event to set the focus tot eh first field on the form that I want the user to start in.

Also check the tab order.

Have you compacted the database lately?
 
Thank you. I have been on travel and will try the suggestions tonight.

WRS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top