PC Review


Reply
Thread Tools Rate Thread

Access not recognizing Database type

 
 
=?Utf-8?B?YXVkcmV5Ym1vcmlu?=
Guest
Posts: n/a
 
      18th Jun 2004
Help!
This has happened several times, and I still don't know why.
I try to
dim myvar as Database
and in some of my apps, Access gives me a "type not recongnized" error on the "Database" type.
Some of my apps are already using the Database type and it's working fine, so I've been copying working apps to keep the structure, importing everything from the non-working one, and it works fine! So I'm guessing it's probably a simple setting...
But which one? What could cause Access not to recognize something apparently as basic as "Database"?
Thanks for the help!
 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      18th Jun 2004
Make sure you have a reference to DAO 3.60 in menu tool-references dialog

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com


"audreybmorin" <(E-Mail Removed)> wrote in message
news:48D27EB1-B6E1-412A-9C8F-(E-Mail Removed)...
> Help!
> This has happened several times, and I still don't know why.
> I try to
> dim myvar as Database
> and in some of my apps, Access gives me a "type not recongnized" error on

the "Database" type.
> Some of my apps are already using the Database type and it's working fine,

so I've been copying working apps to keep the structure, importing
everything from the non-working one, and it works fine! So I'm guessing it's
probably a simple setting...
> But which one? What could cause Access not to recognize something

apparently as basic as "Database"?
> Thanks for the help!



 
Reply With Quote
 
=?Utf-8?B?YXVkcmV5Ym1vcmlu?=
Guest
Posts: n/a
 
      18th Jun 2004
I can't find a menu tool-references dialog... I have Access in French so that might be the problem. You do mean the Files, Edit..., Tools menu, right? The only thing that looks like a list of references in there is the ActiveX controls dialog. Is that what you meant? If so, I don't have anything listed as DAO even in my apps that do recognize the "Database" type.

Sorry, I'm good at SQL, I manage with VB, but I'm really not that good with Access itself... :-(

"Alex Dybenko" wrote:

> Make sure you have a reference to DAO 3.60 in menu tool-references dialog
>
> --
> Alex Dybenko (MVP)
> http://Alex.Dybenko.com
> http://www.PointLtd.com
>
> "audreybmorin" <(E-Mail Removed)> wrote in message
> news:48D27EB1-B6E1-412A-9C8F-(E-Mail Removed)...
> > But which one? What could cause Access not to recognize something

> apparently as basic as "Database"?


 
Reply With Quote
 
Phil Hunt
Guest
Posts: n/a
 
      18th Jun 2004
open any module, create a new one if you have to. There is tool/Reference
menu where you can choose DAO


"audreybmorin" <(E-Mail Removed)> wrote in message
news:1DE8D2E8-8DEC-4270-A21E-(E-Mail Removed)...
> I can't find a menu tool-references dialog... I have Access in French so

that might be the problem. You do mean the Files, Edit..., Tools menu,
right? The only thing that looks like a list of references in there is the
ActiveX controls dialog. Is that what you meant? If so, I don't have
anything listed as DAO even in my apps that do recognize the "Database"
type.
>
> Sorry, I'm good at SQL, I manage with VB, but I'm really not that good

with Access itself... :-(
>
> "Alex Dybenko" wrote:
>
> > Make sure you have a reference to DAO 3.60 in menu tool-references

dialog
> >
> > --
> > Alex Dybenko (MVP)
> > http://Alex.Dybenko.com
> > http://www.PointLtd.com
> >
> > "audreybmorin" <(E-Mail Removed)> wrote in message
> > news:48D27EB1-B6E1-412A-9C8F-(E-Mail Removed)...
> > > But which one? What could cause Access not to recognize something

> > apparently as basic as "Database"?

>



 
Reply With Quote
 
=?Utf-8?B?YXVkcmV5Ym1vcmlu?=
Guest
Posts: n/a
 
      18th Jun 2004
Found it!
The Reference menu is enabled in my working apps, and disabled (greyed out) in my non-working ones, so I can't enable DAO!
Now to figure out which setting disables/enables it...

"Phil Hunt" wrote:

> open any module, create a new one if you have to. There is tool/Reference
> menu where you can choose DAO


 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      18th Jun 2004
It's only enabled when you're in a module (or the Debug window) and not in
debug mode.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"audreybmorin" <(E-Mail Removed)> wrote in message
news:27F323E3-B445-4234-BAC4-(E-Mail Removed)...
> Found it!
> The Reference menu is enabled in my working apps, and disabled (greyed

out) in my non-working ones, so I can't enable DAO!
> Now to figure out which setting disables/enables it...
>
> "Phil Hunt" wrote:
>
> > open any module, create a new one if you have to. There is

tool/Reference
> > menu where you can choose DAO

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Type one number into Access, get another in the database Maury Markowitz Microsoft Access Queries 4 12th Jul 2009 11:34 AM
Type one number into Access, get another in the database Maury Markowitz Microsoft Access Queries 2 12th May 2009 02:31 PM
MIME TYPE FOR ACCESS 2007 Database UT Microsoft Access 1 9th Feb 2009 10:24 PM
Database Unknown userdefined type in Access 2000 - BCP =?Utf-8?B?QkNQ?= Microsoft Access VBA Modules 8 8th Aug 2005 06:30 PM
Access wont permit database, recordset type Jim McDonald Microsoft Access VBA Modules 3 10th Jan 2005 11:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:37 PM.