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!

Compile error: Expected user-defined type, not project"

Status
Not open for further replies.

PercyN

Programmer
May 16, 2007
86
I have this piece in my code in my split program:

Dim db As Database

When I compile I get an error message that says : Compile error: Expected user-defined type, not project"

Can anyone please help with this?
 
tRY THIS/
Dim db As dao.Database

Seems like you've named your project 'Database' ...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top