M
martinmike2
Hello:
I am trying to populate a combobox with and array as its rowsource,
but am having issues. Mainly, im not sure how I would accomplish
this. Here is my code:
Private Sub Form_Load()
Dim db As DAO.Database, rst As DAO.Recordset
Dim ws As DAO.Workspace, usr As DAO.User, grp As DAO.Group, allgrp As
DAO.Groups
Set ws = DBEngine(0)
Set allgrp = ws.Groups
Me.cboGroups.RowSource allgrp
End Sub
anyhelp would be appreciated.
I am trying to populate a combobox with and array as its rowsource,
but am having issues. Mainly, im not sure how I would accomplish
this. Here is my code:
Private Sub Form_Load()
Dim db As DAO.Database, rst As DAO.Recordset
Dim ws As DAO.Workspace, usr As DAO.User, grp As DAO.Group, allgrp As
DAO.Groups
Set ws = DBEngine(0)
Set allgrp = ws.Groups
Me.cboGroups.RowSource allgrp
End Sub
anyhelp would be appreciated.