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

Populating a VBA combobox in Business Objects

Status
Not open for further replies.

burkek

Programmer
Mar 31, 2003
4
0
0
IN
What is the VBA syntax to connect to a universe and do a select on a table to populate a combobox?
The value to populate the combobox is an object in the universe.
 
Take a look at this one. Modify the following code. Hope it will help.
Sub manipulating()

Dim Doc As Document
Dim Rep As Report
Dim i As Integer
Dim Send As String

Set Doc = ActiveDocument
Doc.Refresh

For i = 1 To Doc.Reports.Count
Set Rep = Doc.Reports.Item(i)
MsgBox Doc.DataProviders.Item(1).Columns.Item(1).Name & " & " & Doc.DataProviders.Item(1).Columns.Item(2).Name

Next i



End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top