473,322 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Putting cursor at beginning of field.

489 256MB
I have a regular form with two selection fields. Both are combo boxes that the user can select either the customer number or the other combo box they can select the customer name. This works just fine except the form displays with the cursor on the Customer Number selection combo box, if I tab into the Customer name combo box the cursor starts at the beginning of the field, however if I click into the field the cursor starts at position 1 and you have to backspace to get the field to select the name when you start typing.
I've put into the On Enter Me.CustNumber.SelStart = 0 I also have the save thing in the On GotFocus but it still starts on position 1.
Any suggestions would help.
Thanks
Mar 23 '17 #1
1 1466
CD Tom
489 256MB
Well I found out what the problem was. So just to let you know in case someone else has this problem. What I found out was that the first customer name in the list had a blank in the first position, so this caused the cursor not to go to position 0. Such a silly error I should have seen it sooner
Mar 23 '17 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: MPBroida | last post by:
Hi! I couldn't find a better Newsgroup on this server, so I'll ask here and hope for the best. <grin> I'm using MSDevStudio and VisualC++ 6.0 on Win2K. I have a small GUI program (Dialog)...
0
by: arbpen2003 | last post by:
This is driving me crazy. The markup is valid, the CSS is valid, I'm serving it right, and I still cannot figure out why I cannot get the cursor into the form element. I have tried on Opera,...
3
by: opt_inf_env | last post by:
Hello, I have created a form with a text-fields. <textarea name="explanation" rows=6 cols=70> </textarea> What I don't like there is that if I click in the middle or end of one of the...
2
by: NewBob | last post by:
Since Access automatically highlights all of the text in a text control (I use it to hold data from a memo field) when the control is activated, I've added the following code to put the cursor at...
4
by: Rick | last post by:
Hello, I currently use a field that I have set up to keep notes in. It is a memo data type field. It looks like a simple box, and I typically time and date stamp my notes as I enter them. For...
6
by: Sami | last post by:
Problem: Social Security number being used in a database. First problem is that it will not permit numbers beginning in zero to be entered - it sees it as a null or empty space from what I can...
1
by: jung wook seo | last post by:
Hi~ all How?? please let me know~ Thanks in advance~ *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
1
by: Russ5102 | last post by:
Microsoft Access I need to change the focus from a "New Record" button back to the beginning field in a form. How can this be done. Currently the tab order ends on the "New Record" button and...
3
by: dugald.morrow | last post by:
I have some javascript that updates the text in a text field after certain actions take place such as clicking a checkbox. The javascript works fine in Safari and Firefox, but in IE, the text in...
2
by: Sedrick | last post by:
I am putting a timestamp field in a table, using Now() for the default value. I'm using Access 97 Seems like I figured this out once before, but does anyone know of a way on the table level...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.