I am trying to populate a combo box on a form from an ADO recordset. Obviously, I'm not having much luck. It appears that the additem property does not exist for the control. I tried all of these and it says an object is required:
Forms!frmGroup.Group.ItemData(X).Add rst.Fields![m-user]
Forms!frmgroup.Controls("Group").Add rst.Fields![m-user]
Group.Object.Add rst.Fields("m-user")
With Me.Group
.ItemData(X).Additem rst.Fields![m-user]
End With
Any suggestions?
Forms!frmGroup.Group.ItemData(X).Add rst.Fields![m-user]
Forms!frmgroup.Controls("Group").Add rst.Fields![m-user]
Group.Object.Add rst.Fields("m-user")
With Me.Group
.ItemData(X).Additem rst.Fields![m-user]
End With
Any suggestions?