Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ComboBox trouble

Status
Not open for further replies.

gcole

Programmer
Joined
Aug 2, 2000
Messages
390
Location
US
I am trying to create a drop down combo box. I am using a data environment I set up with a pre-existing ODBC (that works). The combo box will only show the top item on the list. I have the DataMember and DataField populated.
 
to use the dataenviroment you need to open it first
dataenviromentName.connectionname.Open
with dataenviromentname.connectionname
.movefirst
If Not IsNull(dataenviromentName.connectionname _
!columName) Then COmboBoxName.AddItem _ dataenviromentName.connectionname!columName
dataenviromentName.connectionname.Open
I thnink this is what you are after
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top