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  

Multiple text boxes retrieving data from combobox source



 
 
Thread Tools Display Modes
  #1  
Old December 7th, 2006, 08:08 PM posted to microsoft.public.access.forms
[email protected]
external usenet poster
 
Posts: 37
Default Multiple text boxes retrieving data from combobox source

I have my combobox...CBOStrNum and multiple text boxes looking up the
appropriate data in a table based on the combobox

Combo box is unbound, Bound Column is set to 1
My first textbox in the control source is: =CBOStrNum.Column(1) which
works fine...
My Second textbox in the control source is : =CBOStrNum.Column(2) which
does nothing along with all the subsequent textboxes. If I change the
second control source to the exact same control as textbox 1 then it
works (but not showing the data that I need, just duplicated data)
Why is this?


Hans

  #2  
Old December 8th, 2006, 06:56 AM posted to microsoft.public.access.forms
John Vinson
external usenet poster
 
Posts: 4,033
Default Multiple text boxes retrieving data from combobox source

" wrote:

I have my combobox...CBOStrNum and multiple text boxes looking up the
appropriate data in a table based on the combobox

Combo box is unbound, Bound Column is set to 1
My first textbox in the control source is: =CBOStrNum.Column(1) which
works fine...
My Second textbox in the control source is : =CBOStrNum.Column(2) which
does nothing along with all the subsequent textboxes. If I change the
second control source to the exact same control as textbox 1 then it
works (but not showing the data that I need, just duplicated data)
Why is this?


Hans


Does the RowSource of the combo have all the columns you want to see? And is
its ColumnCount large enough to include all the fields?

--
John W. Vinson[MVP]




 




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 08:32 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.