473,396 Members | 1,961 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,396 software developers and data experts.

Access 2003 keeps confusing form names

Hi All,

I'm experiencing what I think is a bug - can't figure out how it would
be stated so difficult to search the NG.

I have a form. It has four listboxes. Each listbox has a rowsource. The
four listboxes cascade in criteria. So the next listbox in the sequence
uses the formname!listboxX as the criteria for the rowsource. Not
unusual.

Now comes the odd part. As I edit the rowsource - using the query
designer UI but keeping it as an SQL string, when I'm ready, I run the
Form. But the SQL strings now reference some other Formname, not the
current formname. So I thought it was me and I edit them and save and
run. Reverts again. Finally, I don't use SQL string, I save each
rowsource as a query and use a queryname as an SQL string. Happens
again - the formname changes somehow.

Tried Repair and Compact.

Seen that?

Aug 8 '06 #1
3 1579
i'm guessing that you didn't turn OFF the Name Autocorrect option when you
created your database (for more information, see
http://home.att.net/~california.db/tips.html#aTip3).

suggest you create a new, blank database. immediately turn OFF the Name
Autocorrect option - from the database window's menu bar, Tools | Options |
General tab. compact the database. import all the objects from your current
database into the new one. fix the SQL strings in the form in the new
database, then compact the database.

if you still have problems, suggest you try the above again, but do *not*
import the "problem" form. instead, after importing all other objects and
compacting, rebuild that form from scratch.

hth
"AnandaSim" <An*******@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Hi All,

I'm experiencing what I think is a bug - can't figure out how it would
be stated so difficult to search the NG.

I have a form. It has four listboxes. Each listbox has a rowsource. The
four listboxes cascade in criteria. So the next listbox in the sequence
uses the formname!listboxX as the criteria for the rowsource. Not
unusual.

Now comes the odd part. As I edit the rowsource - using the query
designer UI but keeping it as an SQL string, when I'm ready, I run the
Form. But the SQL strings now reference some other Formname, not the
current formname. So I thought it was me and I edit them and save and
run. Reverts again. Finally, I don't use SQL string, I save each
rowsource as a query and use a queryname as an SQL string. Happens
again - the formname changes somehow.

Tried Repair and Compact.

Seen that?

Aug 8 '06 #2
Thanks for that. I guessed as much and have turned it off in the
current db. But not gone the whole way of exporting everything to a new
mdb.

I've been on access 2000, 2002, 2003 for a long while but this is the
first time it has given me so much trouble.

Ananda

tina wrote:
i'm guessing that you didn't turn OFF the Name Autocorrect option when you
created your database (for more information, see
http://home.att.net/~california.db/tips.html#aTip3).

suggest you create a new, blank database. immediately turn OFF the Name
Autocorrect option - from the database window's menu bar, Tools | Options |
General tab. compact the database. import all the objects from your current
database into the new one. fix the SQL strings in the form in the new
database, then compact the database.

if you still have problems, suggest you try the above again, but do *not*
import the "problem" form. instead, after importing all other objects and
compacting, rebuild that form from scratch.

hth
"AnandaSim" <An*******@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Hi All,

I'm experiencing what I think is a bug - can't figure out how it would
be stated so difficult to search the NG.

I have a form. It has four listboxes. Each listbox has a rowsource. The
four listboxes cascade in criteria. So the next listbox in the sequence
uses the formname!listboxX as the criteria for the rowsource. Not
unusual.

Now comes the odd part. As I edit the rowsource - using the query
designer UI but keeping it as an SQL string, when I'm ready, I run the
Form. But the SQL strings now reference some other Formname, not the
current formname. So I thought it was me and I edit them and save and
run. Reverts again. Finally, I don't use SQL string, I save each
rowsource as a query and use a queryname as an SQL string. Happens
again - the formname changes somehow.

Tried Repair and Compact.

Seen that?
Aug 9 '06 #3
once you start building objects in a database, Name Autocorrect can continue
to haunt you even after you go back and turn it off. i don't know why, but
it can be a real PITA; so if i forget to turn it off immediately, i just
stop in my tracks and go the "new db, import objects" route as soon as i
realize my oversight - i find it quicker and easier in the long run than
holding my breath and waiting to see if a problem occurs. :)

"AnandaSim" <An*******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Thanks for that. I guessed as much and have turned it off in the
current db. But not gone the whole way of exporting everything to a new
mdb.

I've been on access 2000, 2002, 2003 for a long while but this is the
first time it has given me so much trouble.

Ananda

tina wrote:
i'm guessing that you didn't turn OFF the Name Autocorrect option when
you
created your database (for more information, see
http://home.att.net/~california.db/tips.html#aTip3).

suggest you create a new, blank database. immediately turn OFF the Name
Autocorrect option - from the database window's menu bar, Tools |
Options |
General tab. compact the database. import all the objects from your
current
database into the new one. fix the SQL strings in the form in the new
database, then compact the database.

if you still have problems, suggest you try the above again, but do
*not*
import the "problem" form. instead, after importing all other objects
and
compacting, rebuild that form from scratch.

hth
"AnandaSim" <An*******@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Hi All,
>
I'm experiencing what I think is a bug - can't figure out how it would
be stated so difficult to search the NG.
>
I have a form. It has four listboxes. Each listbox has a rowsource.
The
four listboxes cascade in criteria. So the next listbox in the
sequence
uses the formname!listboxX as the criteria for the rowsource. Not
unusual.
>
Now comes the odd part. As I edit the rowsource - using the query
designer UI but keeping it as an SQL string, when I'm ready, I run the
Form. But the SQL strings now reference some other Formname, not the
current formname. So I thought it was me and I edit them and save and
run. Reverts again. Finally, I don't use SQL string, I save each
rowsource as a query and use a queryname as an SQL string. Happens
again - the formname changes somehow.
>
Tried Repair and Compact.
>
Seen that?
>

Aug 9 '06 #4

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

Similar topics

2
by: R Schlageter | last post by:
Several years ago I wrote a database which keeps track of our campus ministry participation ... I'm no expert but it keeps working well The database is divided front and back end. Now we need to...
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
5
by: Dan | last post by:
We have a simple site. It's a frameset with two frames a left and a right. The left frame is essentially a list of records from a database (using a server-side repeater control). When you click...
2
by: Xeijin | last post by:
URGENT I have an assignment to hand in tomorrow, I need to know how to perform numeric calculations in access, I dont know very much about databases so consider this a beginner's query! Well...
5
by: cj | last post by:
In 2003 I had Public Class Form1 Inherits System.Windows.Forms.Form In 2005 I've seen it with and without the Inherits System.Windows.Forms.Form. Is it supposed to be there? I'm wondering...
1
by: DrJarmin | last post by:
Hello The problem is this: in the criteria for a list box I reference the parent form - and Access KEEPS changing the criteria for one that won't work. Details below: I have a couple of list...
8
by: elias.farah | last post by:
Hello Everyone, I'm having some very weird behavior on a couple of Access forms. (Not all forms, just some of them). The forms have been working for years, under Access XP/2003 etc, and last...
3
by: sierra7 | last post by:
Having just migrated a system from Acc'97 to Acc 2003 my users are complaining there are too many entries in the Windows Task bar at the bottom of their screen. Access 2002/3 keeps seperate task...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...
0
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,...

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.