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  

Combo Box - Bound to column in table



 
 
Thread Tools Display Modes
  #1  
Old August 28th, 2008, 05:54 PM posted to microsoft.public.access.forms
katherine
external usenet poster
 
Posts: 58
Default Combo Box - Bound to column in table

I am trying to do something simple with a combo box. I want it to display as
options all the different entries in one column of a table - the third column
from the left. However, no matter what I do with the settings, it always
shows a list of the entries in the first column in the table (the leftmost
one) - not the third column, even though that one is listed as its "control
source" under properties. Even when I change the number in the "bound
column" box, this does not change. How do I make it work?

Thanks,
Katherine
  #2  
Old August 28th, 2008, 06:44 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default Combo Box - Bound to column in table

Has to do with what the row source of the combo is, and which column of the
combo you want visible. If the column in the combo (not the form) is the 3rd
column is the one you want to show, then you need to set the combo's column
width properties so it is the only one visible;

0";0";3.5"

Will make the first two columns hidden and the third 3 1/2 inches wide.
See VBA Help on the Column Widths property for details.
--
Dave Hargis, Microsoft Access MVP


"Katherine" wrote:

I am trying to do something simple with a combo box. I want it to display as
options all the different entries in one column of a table - the third column
from the left. However, no matter what I do with the settings, it always
shows a list of the entries in the first column in the table (the leftmost
one) - not the third column, even though that one is listed as its "control
source" under properties. Even when I change the number in the "bound
column" box, this does not change. How do I make it work?

Thanks,
Katherine

  #3  
Old August 29th, 2008, 09:46 PM posted to microsoft.public.access.forms
katherine
external usenet poster
 
Posts: 58
Default Combo Box - Bound to column in table

Thanks!

"Klatuu" wrote:

Has to do with what the row source of the combo is, and which column of the
combo you want visible. If the column in the combo (not the form) is the 3rd
column is the one you want to show, then you need to set the combo's column
width properties so it is the only one visible;

0";0";3.5"

Will make the first two columns hidden and the third 3 1/2 inches wide.
See VBA Help on the Column Widths property for details.
--
Dave Hargis, Microsoft Access MVP


"Katherine" wrote:

I am trying to do something simple with a combo box. I want it to display as
options all the different entries in one column of a table - the third column
from the left. However, no matter what I do with the settings, it always
shows a list of the entries in the first column in the table (the leftmost
one) - not the third column, even though that one is listed as its "control
source" under properties. Even when I change the number in the "bound
column" box, this does not change. How do I make it work?

Thanks,
Katherine

 




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 06:48 AM.


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