Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help With Opening Access File 1

Status
Not open for further replies.

edmundson

Technical User
Jul 20, 2002
2
US
I recently updated my computer to windows xp and office xp. When I tried to open a database program that I had written, I got the following Error:

Compile error:
User-defined type not defined

when I hit ok the visual basic screen came up with the following line highlighted.

Private Sub FillOptions()
' Fill in the options for this switchboard page.

' The number of buttons on the form.
Const conNumButtons = 15
Dim dbs As Database

Any suggestion would be appreciated.

thanks

Barry
 
Have you checked that you aren't missing a reference (Tools > References)

Grant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top