I have my Main form that I have created a button on, when I click this button I want it to open another form and create a multiple button with names on that I pulls from a table. I have started some VBA for the button already but I'm stuck on getting it to create the buttons.Any help would greatly appreciated, I hope someone in the community can guide me in the right direction as I'm new to this area. Please see details below.Main form name HomePage_frm: VBA for the button on this form is below.Private Sub Form_Load()
Dim SQL As String
SQL = "Select * " & _ "FROM Users_tbl " & _ "WHERE Authority = 'Supervisor'"
Dim rs As DAO.Recordset Set rs = CurrentDb.OpenRecordset(SQL)
Dim strText As String
Do While Not rs.EOFstrText = rs.Fields("Employee_Name")'Make Buttons herers.MoveNextLoopEnd SubI have looked all over on found a few ideas but nothing seams to work.