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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show register from Access DB in ComboBox as list

Status
Not open for further replies.

JuanMellado

Technical User
Jan 26, 2015
21
0
0
US
Hi Guys

My first post and sorry for my dummy question, I am working with excel, VB and access, I want to show in a ComnoBox a table from Access, i have the conection but if i call a method .Getstring the ComboBox doesn't show the table as list.

Do you know the method? or the right way to get the information as list.[bigsmile]

Thanks
 
GetString returns multiline text, you heve to process it and fill combobox list either by an array (2D, 0-biased) or a loop with AddItem.

combo
 
If you were to query your table via MS Query in a worksheet, you can use the Structured Table name (which you can edit) as the ComboBox RangeName(if my memory is correct)

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top