View Full Version : HELP!!!! Compile Error ?????????????


downunder169
06-05-2001, 03:32 PM
PLease help me I am pulling my hair out here, (and I dont have enough for that).
Access 97..........
I am trying to set up a switchboard, I do everything up to openning it and the I get this message:
Compile Error: User defined type not defined.
It then opens the debug module and the following area is highlighted:

(HIGHLIGHTED):Private Sub FillOptions()(END HIGHLIGHT)
' Fill in the options for this switchboard page.

' The number of buttons on the form.
Const conNumButtons = 8

Dim (YELLOW)dbs As Database(END YELLOW)
Dim rst As Recordset
Dim strSQL As String
Dim intOption As Intege

(for the literal amongst us I included the highlights and yellow to show what was on the form!!)

If you can help please let me know asap, as i am getting more and more frustrated.
either post here or email me at downunder169@hotmail.com

MAny thanks.

[This message has been edited by downunder169 (edited 06-05-2001).]

KevinM
06-06-2001, 07:44 AM
Open the vb window and under Tools and References check that nothing is marked as 'MISSING' and that DAO 3.6 is checked.

HTH