
Recordsets results in "User-defined type not defined"
Quote:
> Hi,
> I'm having a problem with VB 5.0, where I want to declare a variable
> as a recordset, just like I'm doing in MS Access:
> Dim rs As Recordset
> The compiler do NOT like it and says "User-defined type not defined."
> What does it mean? The same problem occurs if I try to declare a
> database, workspace...
> What have I done wrong? Can it be something during the installation?
> Please help
> Magnus Karlsson
I don't have 5.0 yet, but this will occur in 4.0 if you don't
have the "Tools->References->DAO" checked. In other words, the
object(s) aren't available until you ask for them.
--
Barry Scott