473,597 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reference Error

I think this is a reference error. All of a sudden my database doesn't
know what a "control" is. I have written forms and I get a "Module Not
Found" error. The line that is highlighted is a sub definition. (Sub
tbFormat(ctl As control))

I've tried fudging it and changing the statement to: Sub tbFormat(ctl
As object) then I get an error in another module on a line saying the
following: dim db as database.

I think there has to be some default references that have gotten
deleted. Can someone help please!!!!

Jul 23 '07 #1
9 6207
Try "refreshing " your references.
http://www.accessmvp.com/djsteele/Ac...nceErrors.html

to******@gmail. com wrote:
>I think this is a reference error. All of a sudden my database doesn't
know what a "control" is. I have written forms and I get a "Module Not
Found" error. The line that is highlighted is a sub definition. (Sub
tbFormat(ctl As control))

I've tried fudging it and changing the statement to: Sub tbFormat(ctl
As object) then I get an error in another module on a line saying the
following: dim db as database.

I think there has to be some default references that have gotten
deleted. Can someone help please!!!!
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200707/1

Jul 23 '07 #2
If that does not work then try a /decompile.
http://www.granite.ab.ca/access/decompile.htm

to******@gmail. com wrote:
>I think this is a reference error. All of a sudden my database doesn't
know what a "control" is. I have written forms and I get a "Module Not
Found" error. The line that is highlighted is a sub definition. (Sub
tbFormat(ctl As control))

I've tried fudging it and changing the statement to: Sub tbFormat(ctl
As object) then I get an error in another module on a line saying the
following: dim db as database.

I think there has to be some default references that have gotten
deleted. Can someone help please!!!!
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via http://www.accessmonster.com

Jul 23 '07 #3
On Jul 23, 4:38 pm, "ruralguy via AccessMonster.c om" <u12102@uwe>
wrote:
Try "refreshing " your references.http://www.accessmvp.com/djsteele/Ac...nceErrors.html

tonym...@gmail. com wrote:
I think this is a reference error. All of a sudden my database doesn't
know what a "control" is. I have written forms and I get a "Module Not
Found" error. The line that is highlighted is a sub definition. (Sub
tbFormat(ctl As control))
I've tried fudging it and changing the statement to: Sub tbFormat(ctl
As object) then I get an error in another module on a line saying the
following: dim db as database.
I think there has to be some default references that have gotten
deleted. Can someone help please!!!!

--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.c omhttp://www.accessmonst er.com/Uwe/Forums.aspx/databases-ms-access/2007...
I am having another problem in addition to this one. I don't know if
they are related. I keep getting a error popping up saying:

The report name '~TMPCLP202761' you entered in either the property
sheet or macro is misspelled or refers to a report that doesn't exist.

I have nor ever have had a report by this name. But every time I try
to edit the code window, this error pops up. It even happens when I
try to use the immediate window to invoke test functions.

Jul 24 '07 #4
On Jul 23, 4:39 pm, "ruralguy via AccessMonster.c om" <u12102@uwe>
wrote:
If that does not work then try a /decompile.http://www.granite.ab.ca/access/decompile.htm

tonym...@gmail. com wrote:
I think this is a reference error. All of a sudden my database doesn't
know what a "control" is. I have written forms and I get a "Module Not
Found" error. The line that is highlighted is a sub definition. (Sub
tbFormat(ctl As control))
I've tried fudging it and changing the statement to: Sub tbFormat(ctl
As object) then I get an error in another module on a line saying the
following: dim db as database.
I think there has to be some default references that have gotten
deleted. Can someone help please!!!!

--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted viahttp://www.accessmonst er.com
I tried to decompile the db, but I don't know if it is because my
database is in 2002-2003 format or what but it doesn't seem to do
anything. I keep getting the report error I mentioned earlier.

"The report name '~TMPCLP202761' you entered in either the property
sheet or macro is misspelled or refers to a report that doesn't exist.
"

Jul 24 '07 #5
Do you have Name AutoCorrect turned OFF? Tools>Options.. .>General Tab
While you are in there, turn ON Compact on Close for now. Now when you do a
/decompile and close the db. it should shrink a bit. Then you go back in and
compile again and close. Then open and try it. It sure sounds like you have
some sort of corruption. The only other trick I know is to create a new,
empty db with Name AutoCorrect turned off and import everything from the old
db and Compact and Repair and then see if the problem followed you.

A link for you to review: http://allenbrowne.com/ser-47.html

to******@gmail. com wrote:
>On Jul 23, 4:39 pm, "ruralguy via AccessMonster.c om" <u12102@uwe>
wrote:
>If that does not work then try a /decompile.http://www.granite.ab.ca/access/decompile.htm
[quoted text clipped - 16 lines]
>>
Message posted viahttp://www.accessmonst er.com

I tried to decompile the db, but I don't know if it is because my
database is in 2002-2003 format or what but it doesn't seem to do
anything. I keep getting the report error I mentioned earlier.

"The report name '~TMPCLP202761' you entered in either the property
sheet or macro is misspelled or refers to a report that doesn't exist.
"
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200707/1

Jul 24 '07 #6
On Jul 24, 10:07 am, "ruralguy via AccessMonster.c om" <u12102@uwe>
wrote:
Do you have Name AutoCorrect turned OFF? Tools>Options.. .>General Tab
While you are in there, turn ON Compact on Close for now. Now when you do a
/decompile and close the db. it should shrink a bit. Then you go back in and
compile again and close. Then open and try it. It sure sounds like you have
some sort of corruption. The only other trick I know is to create a new,
empty db with Name AutoCorrect turned off and import everything from the old
db and Compact and Repair and then see if the problem followed you.

A link for you to review:http://allenbrowne.com/ser-47.html

tonym...@gmail. com wrote:
On Jul 23, 4:39 pm, "ruralguy via AccessMonster.c om" <u12102@uwe>
wrote:
If that does not work then try a /decompile.http://www.granite.ab.ca/access/decompile.htm
[quoted text clipped - 16 lines]
Message posted viahttp://www.accessmonst er.com
I tried to decompile the db, but I don't know if it is because my
database is in 2002-2003 format or what but it doesn't seem to do
anything. I keep getting the report error I mentioned earlier.
"The report name '~TMPCLP202761' you entered in either the property
sheet or macro is misspelled or refers to a report that doesn't exist.
"

--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.c omhttp://www.accessmonst er.com/Uwe/Forums.aspx/databases-ms-access/2007...
Tried these two suggestions. Still not working. I tried to create a
new db. and import specific forms. And I got an error:

Name conflicts with existing module project or object library

Jul 24 '07 #7
Hmmm...
Does the old db compile without errors?

You could try importing things one at a time (which is a pain) and see which
object has the problem. It is probably in a module or a form.

to******@gmail. com wrote:
>On Jul 24, 10:07 am, "ruralguy via AccessMonster.c om" <u12102@uwe>
wrote:
>Do you have Name AutoCorrect turned OFF? Tools>Options.. .>General Tab
While you are in there, turn ON Compact on Close for now. Now when you do a
[quoted text clipped - 28 lines]
>>
Message posted via AccessMonster.c omhttp://www.accessmonst er.com/Uwe/Forums.aspx/databases-ms-access/2007...

Tried these two suggestions. Still not working. I tried to create a
new db. and import specific forms. And I got an error:

Name conflicts with existing module project or object library
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200707/1

Jul 24 '07 #8
to******@gmail. com wrote in
news:11******** **************@ d55g2000hsg.goo glegroups.com:
"The report name '~TMPCLP202761' you entered in either the
property sheet or macro is misspelled or refers to a report that
doesn't exist.
Do you see a module listed under this name in the project browser in
the VBE? If so, you've got a corrupted VBA project, and need to
start a new MDB and import everything into it. I encountered this in
someone else's project a couple of weeks ago, and there was no way
to recover the project without beginning anew.

It's an indicator that the programmer is not taking good care of his
code, in my opinion.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jul 24 '07 #9
On Jul 24, 4:11 pm, "David W. Fenton" <XXXuse...@dfen ton.com.invalid >
wrote:
tonym...@gmail. com wrote innews:11****** *************** *@d55g2000hsg.g ooglegroups.com :
"The report name '~TMPCLP202761' you entered in either the
property sheet or macro is misspelled or refers to a report that
doesn't exist.

Do you see a module listed under this name in the project browser in
the VBE? If so, you've got a corrupted VBA project, and need to
start a new MDB and import everything into it. I encountered this in
someone else's project a couple of weeks ago, and there was no way
to recover the project without beginning anew.

It's an indicator that the programmer is not taking good care of his
code, in my opinion.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Actually I found out that, while trying to compact and repair the
database access crashed. The aforementioned "missing file" was an
internal issue. After creating a report by the offending name and
recompiling, all was fixed. The report erases itself after compile.

Jul 25 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10537
by: Pkpatel | last post by:
Hi, I keep getting this error every time I try to load crystalreportviewer on a webform with a dataset. Here is the error: -------------------------------------------------------- Server Error in '/Cr_Dataset' Application. ----------------------------------------------------------- ---------------------
4
4543
by: Todd | last post by:
Is it possible to pass an argument by reference through an event in C++ managed code? For example, can I do the following? public __gc class MyClass : public Control { public: __event void MyEvent(bool &Cancel);
110
9871
by: Mr A | last post by:
Hi! I've been thinking about passing parameteras using references instead of pointers in order to emphasize that the parameter must be an object. Exemple: void func(Objec& object); //object must be an object instead of
6
5609
by: trexim | last post by:
Hi, I am trying to create a Web Reference for CSTA using the URL http://www.ecma-international.org/standards/ecma-348/csta-wsdl/csta-wsdl-all-operations.wsdl Visual .Net complains that: " The document was understood, but it could not be processed. - The WSDL document contains links that could not be resolved. - There was an error downloading
2
4119
by: Zippy | last post by:
Some months ago, we requested help from this newsgroup on how to replace the library reference of a database with another library reference, prior to creating an MDE. I got the following answer from Stephen K. Young, which does the job: >In message <ahjurk$t18vo$1@ID-65843.news.dfncis.de>, Stephen K. Young ><s@k.y.invalid> writes >Using automation you can temporarily replace a developer library reference >with a compiled library...
2
3006
by: Steve Jorgensen | last post by:
When writing VB or VBA code that works with databases or other external libraries that cannot be trusted to automatically do the right thing when references to their objects are arbitrarily released, some thought must be put into how to make sure the objects will all be closed and released in the correct order, even in the result of an error. This requirement can make our code really ugly, even following the best of commonly known best...
4
1865
by: dhnriverside | last post by:
HI guys I've just written my first independent namespace for my library (yay me!). However, on trying to add it to my website project, it causes an error when I look at the website. It compiles ok though... The error message is... "The located assembly's manifest definition with name 'HudsonNash.Utils.Security' does not match the assembly reference"
2
2614
by: msnews.microsoft.com | last post by:
I am currently trying to follow the Que Publishing exam guide to the Microsoft Exam 70-320. I followed the guide to a tee, but when I try to add a web reference to my server side soap extension it gives me the following error:- An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message:...
51
4428
by: Kuku | last post by:
What is the difference between a reference and a pointer?
3
11595
by: prakash.mirji | last post by:
Hello, I am getting below mention linker error when I tried to link my class test.C I use below command to compile test.C /usr/bin/g++ -g -fpic -fvisibility=default -D_POSIX_SOURCE -DTRACING - D__EXTENSIONS__ -D__RWCOMPILER_H__ -D_REENTRANT -D_RWCONFIG=8s - D_RWCONFIG_12d -D_RWSTDDEBUG -DRWDEBUG -o test1 test1.o -L/lib -
0
7885
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8271
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8258
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3923
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2399
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1493
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.