Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid use of New keyword
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00638804
Message ID:
00638891
Views:
26
Is the Private in the "General declarations" section and the set into a procedure?

DO you have a reference to ADO (or DAO)?


>Hi All,
>
>How come I get a compile error: Invalid use of New keyword on this code:
>
>
Private mrsCon as Recordset
>Set mrsCon = New Recordset
>
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform