AWilderbeast
Registered User.
- Local time
- Today, 07:58
- Joined
- Sep 13, 2005
- Messages
- 92
Below is some code on a form for a button to work and when i run the form it says i '' user define type, not defines and highlights the DAO.Database part.
The tutorial that i got that from says i need to set the DAO but i dont know what that is. Can someone help me out?
Private Sub FillOptions()
On Error GoTo ErrorPoint
' Fill in the options for this switchboard page
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Dim strSQL As String
Dim intOption As Integer
Dim dbsCount As DAO.Database
Dim rstCount As DAO.Recordset
Dim intI As Integer
The tutorial that i got that from says i need to set the DAO but i dont know what that is. Can someone help me out?
Private Sub FillOptions()
On Error GoTo ErrorPoint
' Fill in the options for this switchboard page
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Dim strSQL As String
Dim intOption As Integer
Dim dbsCount As DAO.Database
Dim rstCount As DAO.Recordset
Dim intI As Integer