473,320 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Weird Compile Error

Hi there

I've been encountered with weird compile error using Access 97.

The error message is "Member or data member is not found" and it
highlighted a line of code that has not be changed and has been
compiled with no error for days.

The code was Me.CircuitQualifier.Requery

It will only compiled if I changed the code to
Me![CircuitQualifier].Requery

This problem happened to several of my programs. Usually what I do, is
just to leave the program un-compiled and try to compile it again the
next day. In 9 out of 10, it will compile fine without changing the
code at all.

Does anybody know what cause this error?
Nov 12 '05 #1
2 2514
You're right this is weird. You may have some corruption developing. Try
decompiling or importing everything into a new mdb file and see if it will
behave. Also, you may have a problem with duplicate names, although why this
would work one time and not the next, I don't know. The duplicate names I'm
referring to are if the control has the same name it as the field it is
bound to.

Example:
Field Name: CircuitQualifier
Textbox Name: CircuitQualifier

Try changing the textbox name to txtCircuitQualifier. Of course, this will
require changing all instances of code that refer to the old name whether in
VBA, queries, or the control source of calculated controls.

Information on decompiling.
http://www.mvps.org/access/bugs/bugs0008.htm

--
Wayne Morgan
Microsoft Access MVP
"Kathy Houtami" <ka***********@hotmail.com> wrote in message
news:55************************@posting.google.com ...
Hi there

I've been encountered with weird compile error using Access 97.

The error message is "Member or data member is not found" and it
highlighted a line of code that has not be changed and has been
compiled with no error for days.

The code was Me.CircuitQualifier.Requery

It will only compiled if I changed the code to
Me![CircuitQualifier].Requery

This problem happened to several of my programs. Usually what I do, is
just to leave the program un-compiled and try to compile it again the
next day. In 9 out of 10, it will compile fine without changing the
code at all.

Does anybody know what cause this error?

Nov 12 '05 #2
ka***********@hotmail.com (Kathy Houtami) wrote:
I've been encountered with weird compile error using Access 97.

The error message is "Member or data member is not found" and it
highlighted a line of code that has not be changed and has been
compiled with no error for days.


I've seen this occasionally as well. It seems that sometimes Access thinks a form is
a report. When I do the . thing for Intellisense up comes only report methods
which is rather bizarre in a form.

But usually a decompile fixes that. This is in A97 with an MDB with about 450 forms
and 350 reports. See decompile or how to reduce Microsoft Access MDB/MDE size and
decrease start-up times http://www.granite.ab.ca/access/decompile.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #3

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

Similar topics

7
by: Yamin | last post by:
I found some code that seems a bit weird and is refusing to compile on GCC...it apparently used to compile fine on other comilers. typedef void ASY_TESTPROC_T __((OIDC_T lastmatch, int compc,...
1
by: amit | last post by:
I am trying to compile the sample program genwin.sqc, using nsqlprep which is used to precompile embedded sql in C. I am getting weird errors and that is because windows.h is included in the...
6
by: Saki Arkoudopoulos | last post by:
Hi, I keep getting this weird error when trying to compile a program: CMainWindowDer.o(.text+0x3666): In function `CMainWindowDer::OpenProjectOpties()':...
8
by: J.Marsch | last post by:
Ok, I think that what I'm seeing is due to some implicit boxing/unboxing going on, but I'd like to understand this a little better. I have a collection of structs. If I try to iterate the...
2
by: Scott Reynolds | last post by:
I am having a problem exposing a class inherited from the collection base class as a webservice. If I expose the collection on a web page all works well and I am very happy. However when I try and...
3
by: Hasani | last post by:
I'm creating a .net db provider and I came across a weird problem w/ my data reader. The .net provider was created in managed c++ becuase the db api is also c++. I'm calling the code from a c#...
14
by: vittorio | last post by:
While I can compile the program below under freebsd via a simple: gcc prog1.c -o prog1 and it runs smoothly, I'm experiencing annoying problems with lcc-win32 under windows xp pro. In fact, under...
1
by: Andy Sutorius via DotNetMonster.com | last post by:
When I compile my VS2005 website I get this weird compile error. The line it points to a constructor for a class that is used throughout the website. Even more bizarre when I click on the...
13
by: Sam Steingold | last post by:
the following program does not compile with g++ 4.1.1: ==================================================== // $Id$ // $Source$ #include <stdint.h> #include <stdio.h> typedef struct {...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.