Hi,

In the following code below, I am loading the UserID's from my database into a combo box when the initial form loads at startup.

'############################
Private Sub Form_Load()
Set db = OpenDatabase(App.Path + "\" + "test.mdb")
Set rs = db.OpenRecordset("Users")

rs.MoveFirst
Do Until rs.EOF

cmbUsers.AddItem rs.Fields("UserID")

rs.MoveNext
Loop

db.Close
End Sub
'############################

My first question is...

How can I go ahead and load the form if the database is empty?


My second question is...

When I distribute my program, will I need to include the DAO360.DLL also?


Thanks a lot,
Ron