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

forms query

i've got a problem with a form in my database. I've renamed the table that
the form is associated with and for some reason it now puts up a dialogue
box asking to enter a parameter value for one of the fields before it opens.

This is despite the fact that no queries have been set up and even if i
leave the field blank and click ok it opens the form up anyway at the first
record! How can i ger rid of the dialogue box?

Thanks in advance for any solutions

Stephen
Nov 12 '05 #1
3 1381
"Stephen Chaplin" <sc**@york.ac.uk> wrote in message
news:c7**********@pump1.york.ac.uk...
i've got a problem with a form in my database. I've renamed the table that the form is associated with and for some reason it now puts up a dialogue
box asking to enter a parameter value for one of the fields before it opens.
This is despite the fact that no queries have been set up and even if i
leave the field blank and click ok it opens the form up anyway at the first record! How can i ger rid of the dialogue box?

Thanks in advance for any solutions


A parameter prompt happens anytime Access sees a field reference that it
can't find. This is what is intended in a parameter query, but it can also
happen when mistakes are made. Usually you have a field reference spelled
wrong or something similar.

Does the field that you are being prompted for exist in the forms
RecordSet?
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #2
yes the field is there.

i cant understand why it can no longer find it. All i've done is change the
table name from 'STHA data collection' to data collection. Surely the form
should know to look in this table now as it always has done with other
databases that i've set up.

"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:2f************@uni-berlin.de...
"Stephen Chaplin" <sc**@york.ac.uk> wrote in message
news:c7**********@pump1.york.ac.uk...
i've got a problem with a form in my database. I've renamed the table that
the form is associated with and for some reason it now puts up a dialogue box asking to enter a parameter value for one of the fields before it

opens.

This is despite the fact that no queries have been set up and even if i
leave the field blank and click ok it opens the form up anyway at the

first
record! How can i ger rid of the dialogue box?

Thanks in advance for any solutions


A parameter prompt happens anytime Access sees a field reference that it
can't find. This is what is intended in a parameter query, but it can

also happen when mistakes are made. Usually you have a field reference spelled
wrong or something similar.

Does the field that you are being prompted for exist in the forms
RecordSet?
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com

Nov 12 '05 #3
CDB
The form only knows what you have told it.

Open the form in design view, and look at the recordsource property. Make
sure that it uses the name of your revised table.(You may have set up the
form using an Access Wizard, which behind the scenes copies the SQL
statement of the query as its recordsource, rather than the name of the
stored query.)

Clive
"Stephen Chaplin" <sc**@york.ac.uk> wrote in message
news:c7**********@pump1.york.ac.uk...
yes the field is there.

i cant understand why it can no longer find it. All i've done is change the table name from 'STHA data collection' to data collection. Surely the form
should know to look in this table now as it always has done with other
databases that i've set up.


Nov 12 '05 #4

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

Similar topics

1
by: Nicolae Fieraru | last post by:
Hi All, I want to find if there is a different way than the way I am working now. Lets say I have a table, tblCustomers containing address details. I want a report with all the customers from...
4
by: Lumpierbritches | last post by:
Thank you once again for any and all assistance. I'm building an application that's getting quite bulky due to the number of forms, macros and procedures. I was wondering if there's a way to use 1...
1
by: Andy | last post by:
Hello everybody I have a question on running queries via a form. My situation is – I have a query (qrysearch) and this query has a number of fields e.g. (company, employee etc). My form is...
0
by: John Phelan | last post by:
I had a very large number of query statements that I had converted to SQL a long time ago aticipating that I would some day upsize my application. Every now and then when I do an import to a new...
4
by: Luisa Lopes | last post by:
Dear colleagues: I read somewhere that you could obtain the results of a query as a form. I have design a database for my books and waht I would like is to obtain the results of my queries...
1
by: Raposa Velha | last post by:
Olá Luisa ;-) If I understood correctly, you would like to display the results of a query in a form. No problem, just go to the "Create form by using wizard" and at the first step just choose...
6
by: someguy | last post by:
Hi, I'm trying to accomplish the following on a form on which i have removed navigational buttons (I apologize in advance if this is too many questions); The two easy ones are.... 1) When...
8
by: Zlatko Matić | last post by:
Hello. How can I synchronize subforms content with current record in master form, if both form and subform are based on DAO code ? I assigned DAO recordset to forms by using QueryDef, on Load...
2
by: stoppal | last post by:
I have the following query SELECT TOP 1 CDate(forms!frm_a!cbo_period & '/1/' & forms!frm_a!cbo_year) AS mydate, * FROM DBO_table WHERE DBO_table.field1=forms!frm_a!cbo_field1 And...
2
by: deekay | last post by:
Im trying to update a database where our users have been entering/editing all data using queries to now use forms instead. The first step that I want to take is to convert the queries to forms in...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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.