A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Unwanted "Selection" with open form



 
 
Thread Tools Display Modes
  #1  
Old August 28th, 2006, 10:37 PM posted to microsoft.public.access.forms
Robin Chapple
external usenet poster
 
Posts: 55
Default Unwanted "Selection" with open form

I have just added a list box to a form to ensure standard data entry
of a salutation for members. Mr; Mrs; Ms etc.

Now when the form is opened the list box fields and the first tab stop
field are selected. This is unwanted.

Because I always fail to express myself correctly I have shown a
screen capture he

http://www.rotary9790.org.au/test/test2.html

Thanks,

Robin Chapple
  #2  
Old August 28th, 2006, 10:46 PM posted to microsoft.public.access.forms
Rick Brandt
external usenet poster
 
Posts: 4,354
Default Unwanted "Selection" with open form

Robin Chapple wrote:
I have just added a list box to a form to ensure standard data entry
of a salutation for members. Mr; Mrs; Ms etc.

Now when the form is opened the list box fields and the first tab stop
field are selected. This is unwanted.

Because I always fail to express myself correctly I have shown a
screen capture he


The highlighting in the ListBox is indicating the row currently "chosen"
from the list. The highlighting of the LastName control is becasue it
currently has Focus.

These are two different things.

What exactly do you want (or not want?). It is a bit unusual to use a
ListBox only one row high like you are which I believe is confusing the
issue.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


  #3  
Old August 28th, 2006, 10:52 PM posted to microsoft.public.access.forms
fredg
external usenet poster
 
Posts: 4,386
Default Unwanted "Selection" with open form

On Tue, 29 Aug 2006 07:37:42 +1000, Robin Chapple wrote:

I have just added a list box to a form to ensure standard data entry
of a salutation for members. Mr; Mrs; Ms etc.

Now when the form is opened the list box fields and the first tab stop
field are selected. This is unwanted.

Because I always fail to express myself correctly I have shown a
screen capture he

http://www.rotary9790.org.au/test/test2.html

Thanks,

Robin Chapple


What control do you want to go to when the form opens?
If you wish to go to a particular control when the form opens, then
code the form's Load event:
[ControlName].SetFocus

If you would like to go to that control each time you navigate to a
new record, then use the Form's Current event instead.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #4  
Old August 30th, 2006, 05:20 AM posted to microsoft.public.access.forms
Robin Chapple
external usenet poster
 
Posts: 55
Default Unwanted "Selection" with open form

On Mon, 28 Aug 2006 21:46:03 GMT, "Rick Brandt"
wrote:

Robin Chapple wrote:
I have just added a list box to a form to ensure standard data entry
of a salutation for members. Mr; Mrs; Ms etc.

Now when the form is opened the list box fields and the first tab stop
field are selected. This is unwanted.

Because I always fail to express myself correctly I have shown a
screen capture he


The highlighting in the ListBox is indicating the row currently "chosen"
from the list. The highlighting of the LastName control is becasue it
currently has Focus.

These are two different things.

What exactly do you want (or not want?). It is a bit unusual to use a
ListBox only one row high like you are which I believe is confusing the
issue.


Your comment made me rethink to options and I have now used a value
list instead of the ListBox and all is well,

Many thanks.

Robin Chapple
  #5  
Old August 30th, 2006, 05:22 AM posted to microsoft.public.access.forms
Robin Chapple
external usenet poster
 
Posts: 55
Default Unwanted "Selection" with open form

On Mon, 28 Aug 2006 14:52:54 -0700, fredg
wrote:

On Tue, 29 Aug 2006 07:37:42 +1000, Robin Chapple wrote:

I have just added a list box to a form to ensure standard data entry
of a salutation for members. Mr; Mrs; Ms etc.

Now when the form is opened the list box fields and the first tab stop
field are selected. This is unwanted.

Because I always fail to express myself correctly I have shown a
screen capture he

http://www.rotary9790.org.au/test/test2.html

Thanks,

Robin Chapple


What control do you want to go to when the form opens?
If you wish to go to a particular control when the form opens, then
code the form's Load event:
[ControlName].SetFocus

If you would like to go to that control each time you navigate to a
new record, then use the Form's Current event instead.


Thanks Fred, that has helped with the rest of the problem./

Robin
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.