473,385 Members | 2,013 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,385 software developers and data experts.

Enter Parameter Value...for what???

I changed the name of a field in one of my tables (before you all scold me,
don't, I won't ever, ever, ever do it again!) and then changed all of the
references to it on the only form that uses that particular field. I change
it in the underlying query and all of the code for that form. Problem is,
MSAccess doesn't agree. When I open the form it pops up the box to Enter
Parameter Value for and includes the old field name. Like I said, I searched
the code behind the form for references to the old field name to no avail.
searched all of the queries that use that table. I even ran the Access
analyzer on that form and then searched the document for the old field name
and came up empty. Is there any way to force Access to tell me why it is
attempting to get this value, i.e. what triggers it. Something similar to
using breakpoints in the code builder?

If it makes a difference. I can put anything I want into the pop up box or
cancel it and it does nothing to affect the form (nothing that I can see
anyway!)

Jimmy
Nov 14 '06 #1
8 3223
Jimmy wrote:
I changed the name of a field in one of my tables (before you all scold me,
don't, I won't ever, ever, ever do it again!) and then changed all of the
references to it on the only form that uses that particular field.
You may have references that you don't see immediately, e.g control sources
in forms, conditional formatting etc.

Try this procedure, sometimes it works:

1. Give the field the original name in the table again.
2. In Tools - Options - General - Name AutoCorrect put a tick
against Track name AutoCorrect info and Perform name AutoCorrect.
3. Give the field the new name again. (This should modify all
references visible to Access automatically).
4. Modify references not visible to Access manually. This is
mainly in VBA code.

Another option would be to save the object (Application.SaveAsText) and
search with a text editor.

Peter Doering

--
No mails please.
Nov 14 '06 #2
Perfect, worked like a charm. Is this name autocorrect a new feature to A2k
over A97? What a brilliant tool, I will keep it turned on from now on!!!

Jimmy

"Peter Doering" <no****@doering.orgwrote in message
news:4r************@mid.individual.net...
Jimmy wrote:
>I changed the name of a field in one of my tables (before you all scold
me,
don't, I won't ever, ever, ever do it again!) and then changed all of the
references to it on the only form that uses that particular field.

You may have references that you don't see immediately, e.g control
sources
in forms, conditional formatting etc.

Try this procedure, sometimes it works:

1. Give the field the original name in the table again.
2. In Tools - Options - General - Name AutoCorrect put a tick
against Track name AutoCorrect info and Perform name AutoCorrect.
3. Give the field the new name again. (This should modify all
references visible to Access automatically).
4. Modify references not visible to Access manually. This is
mainly in VBA code.

Another option would be to save the object (Application.SaveAsText) and
search with a text editor.

Peter Doering

--
No mails please.

Nov 14 '06 #3

"Jimmy" <no**@none.comschreef in bericht news:gp*********************@fe06.news.easynews.co m...
Perfect, worked like a charm. Is this name autocorrect a new feature to A2k
over A97? What a brilliant tool, I will keep it turned on from now on!!!
Hmmm... I would Google for this mis-feature, AKA 'Name Auto Corrupt' option...
Not so brilliant at all !

Arno R

Nov 14 '06 #4
Jimmy wrote:
Perfect, worked like a charm. Is this name autocorrect a new feature to A2k
over A97? What a brilliant tool, I will keep it turned on from now on!!!
Hey, don't get carried away! ;-)

The name autocorrect feature should be switched on when required, i.e.
during development, when changing object or control names. Once the db is
operational it should be off, as it's one of the most common reasons for
performance problems. So don't leave it on when you don't need to.

Peter

--
No mails please.
Nov 14 '06 #5
Oh, then off it goes...until needed!

"Peter Doering" <no****@doering.orgwrote in message
news:4r************@mid.individual.net...
Hey, don't get carried away! ;-)

The name autocorrect feature should be switched on when required, i.e.
during development, when changing object or control names. Once the db is
operational it should be off, as it's one of the most common reasons for
performance problems. So don't leave it on when you don't need to.

Nov 15 '06 #6
"Jimmy" <no**@none.comwrote in message
news:8K*********************@fe02.news.easynews.co m...
Oh, then off it goes...until needed!

It is, without doubt, an absolute last resort when your desperation has
reached epic proportions. This explains why:

http://allenbrowne.com/bug-03.html

Keith.
www.keithwilby.com
Nov 16 '06 #7
Keith Wilby wrote:
It is, without doubt, an absolute last resort when your desperation has
reached epic proportions. This explains why:

http://allenbrowne.com/bug-03.html
I've never turned this off and I've never experienced any slowdown,
corruption or other problem relating to it.
I can't remember ever changing field names; perhaps that's why.
Regardless, one of the reasons I am drifting away from Access is MS's
increasing tendency to DO THINGS for the developer or programmer. I
don't want MS to do anything for me and I find it both annoying and
counter-productive when it does.
If MS sincerely wants to improve Access it will replace the woeful and
archaic VBA with something else.

Nov 16 '06 #8
rkc
Lyle Fairfield wrote:
If MS sincerely wants to improve Access it will replace the woeful and
archaic VBA with something else.
Like what?

..net?
Nov 16 '06 #9

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

Similar topics

1
by: Stuart E. Wugalter | last post by:
Hello. No one in the queries newgroup answered this question. I hope someone here can. Thank you. Stuart The following Update Query allows my users to substitute a numerical value for the...
1
by: Chuck | last post by:
I have a query that uses the query with the critera set to . We I run the query the msgbox pops up asking for the name information to be entered, but on the top (blue background) of the message box...
9
by: Megan | last post by:
Hi- I'm creating a database of music bands with their cds and songs. I'm trying to program an SQL statement so that I can enter a string of text in a textbox, press the 'Enter' key, and have...
11
by: Joe | last post by:
Hello All, I have an ASP.NET page with one Textbox (SearchTextBox) and one ImageButton (SearchButton) server controls. The user can type search text in SearchTextBox and click SearchButton and...
8
by: Dan Holmes | last post by:
I am receiving data from the stream of a socket. I am trying to determine if the user pressed the Enter key. The buffer has 2 non-zero bytes when the user presses enter: 13 and 10. If i...
3
by: Darin | last post by:
I have a problem I just can't figure out. I have a form with a subform, and the recordsource of the subform has criteria based on some unbound fields in the parent form so that data in the parent...
2
by: billtubbs | last post by:
Hi I am getting the common problem of the "Enter Parameter Value" dialog box, which pops up every time I execute a query. I built the query using the Expression Builder in Access. If any of my...
1
by: waltnixon | last post by:
I've got an MS Access query which runs fine when double clicked and returns all of the rows in a test database I'm building. I've set up a multi group report based on the query. I immediately...
2
by: Sep410 | last post by:
Hi all, I am using vb.net and Sql2005 and crystal report viewer in my application. the peroblem is when I run a report and I set the value for parameter a Enter Parameter value pops up.I shoudl...
9
by: junaidfaiz | last post by:
How can i get rid of "Enter Parameter Value" check boxes? as when i open my bill section there I have called multiple queries, forms and tables. It works perfectly fine. No error in calculation or...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
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,...

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.