John W. Colby
jcolby at colbyconsulting.com
Tue Feb 18 11:43:01 CST 2003
Keith, Make sure that Dao is referenced, then place a DAO. in front of the database declaration. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Tuesday, February 18, 2003 12:13 PM To: accessd at databaseadvisors.com Subject: [AccessD] Declaring Database Can anyone shed some light on why my Access 97 would be having a problem with a "Dim dbs as database" declaration? I was using the Switchboard Manager utility to setup menus on my application. In the process of this, the utility wizard created code which included the above declaration. However, the application keeps giving me an error on that line, saying the variable isn't defined. Isn't that what the declaration is doing???...defining the variable?? Can't imagine what the problem is. Anyone with any ideas? I've used the wizard a number of times to setup menus. Never had this problem before. Thanks in advance, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2328 bytes Desc: not available URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030218/5cc5d7f1/attachment-0002.bin>