By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,773 Members | 2,583 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,773 IT Pros & Developers. It's quick & easy.

DAO. Shows as dao. in Modules

P: n/a
On an A97 app, whenever I dim DAO objects, the DAO prefix I write
reverts to small letters:

ie, I type:

Dim dbs as DAO.Database

and when I leave the line, the intellisense changes it to:

Dim dbs as dao.Database

Is this a sign of compilation errors? There's a fair bit of cleaning up
to be done in this app as everytime I try to compile it, I'm drowned
with errors. So what I'm doing until I can go over it with the original
developer is just compiling loaded modules (ie, those that I'm creating
and working on).

Thanks in advance.
--
Tim - http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Want some?" - Ditto
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Tim Marshall wrote:
On an A97 app, whenever I dim DAO objects, the DAO prefix I write
reverts to small letters:

ie, I type:

Dim dbs as DAO.Database

and when I leave the line, the intellisense changes it to:

Dim dbs as dao.Database

Is this a sign of compilation errors? There's a fair bit of cleaning up
to be done in this app as everytime I try to compile it, I'm drowned
with errors. So what I'm doing until I can go over it with the original
developer is just compiling loaded modules (ie, those that I'm creating
and working on).

Thanks in advance.


It may be an indication that there is another variable named "dao" defined.
You should be able to highlight "dao", right-click and select "Definition"
and see what pops up. Should be the Object Browser with the DAO library
loaded.

--
'-------------------------------
' John Mishefske
'-------------------------------

Nov 12 '05 #2

P: n/a
John Mishefske wrote:

It may be an indication that there is another variable named "dao" defined.
You should be able to highlight "dao", right-click and select "Definition"
and see what pops up. Should be the Object Browser with the DAO library
loaded.


Thanks, John. Yes, it did show the object browser, and I also did a
search on "dim dao", just in case and that brough up nothing.

Any other ideas? I'm sure it has to do with compilation - I vaguely
remember a similar problem with an app of mine, which is why I thought
it might be the inability to compile (I still haven't torn through the
app with the developer yet - I'm too busy ensuring PK and FK constraints
are set up, ie, relationships in Access/Jet - after a year of working on
it, the developer had done nothing on this).
--
Tim - http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Want some?" - Ditto
Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.