Manufacturing Information Solutions Forum Index Manufacturing Information Solutions
Your Place for Support and Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Combo Box Multiple Data

 
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> Microsoft Access
View previous topic :: View next topic  
Author Message
mistux
Site Admin


Joined: 25 Jun 2004
Posts: 1042
Location: South Bend, Indiana USA

PostPosted: Mon Jan 28, 2008 4:24 pm    Post subject: Combo Box Multiple Data Reply with quote

To get multiple data (i.e. the other fields shown in the line of information) from the dropdown or combobox:

Code:
MsgBox "0- " & Me.cbxMyComboBox.Column(0) & _
  "; 1- " & Me.cbxMyComboBox.Column(1) & _
  "; 2- " & Me.cbxMyComboBox.Column(2) & _
  "; 3- " & Me.cbxMyComboBox.Column(3) & _
  "; 4- " & Me.cbxMyComboBox.Column(4)


This will show you the 5 fields that the drop down is displaying when you click on it and not just the info that it is displaying by default.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> Microsoft Access All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group