Hi ,
I am using a form based on a query. The form is locked and the fields are not editable, but when i just tried typing something, the contents on the form didnt change, but when i closed and opened the Form again, it came up with this error "Query must have atleast one destination field", i had been coming across this error several times and could not find a solution, typically i just pasted the query and it would be fine as long as i dont type in or try anything on the form. but Since more than 10 users use this application now , everyone gets this error and ï really dont know how to manage this.how to handle this error?
Pls help..Thanks so much!!
5 6462
Hi ,
I am using a form based on a query. The form is locked and the fields are not editable, but when i just tried typing something, the contents on the form didnt change, but when i closed and opened the Form again, it came up with this error "Query must have atleast one destination field", i had been coming across this error several times and could not find a solution, typically i just pasted the query and it would be fine as long as i dont type in or try anything on the form. but Since more than 10 users use this application now , everyone gets this error and ï really dont know how to manage this.how to handle this error?
Pls help..Thanks so much!!
Hi jaishu. One possibility is that the form has an On Open, On Load or On Close event that is mistakenly trying to run a query that has no output fields. Check the event properties of the form check to see if there is an On Open, On Load or On Close event listed. If so, check what the event is doing - it could be a macro which is opening a dud query, or a VBA routine doing something similar.
If it is not an event handler, the remaining possibility is some kind of error in the recordsource of the form somewhere, but this is unlikely if you are seeing correct data in your form. The recordsource would have to be a query for it to be a potential problem; if the recordsource is a table you can rule it out as of any concern.
Let us know what you find.
-Stewart
hi,
my form load doesnt have any other stmt other than(enabling the command button)
[code]
Enter.enabled =true
[code ends]
and no other form close or any other event.. the form is locked and cannot be edited (the table cannot be modified) its just a read only kind of Application.
Not only here i developed a few Access application and i ve been seeing this error, this is getting serious now because ( users are more ) and is just a read-only.
Thanks very much for your suggestions, pls let me know if you have any other ideas, i m researching on this right now.......
Thanks!
Hi ,
i found that this error pops up due to change in the query(recordsou rce for the form).although the form is locked, if ,other options such as sorting is enabled and if there is any such operation on the form such as filter, sorting data etc, the query behind is changed (though not able to check) and if the form is closed and opened, it comes up with this message...
"query must have one destination field.......... ............"
i m trying to do some kind of lock..but any help on how to handle this is appreciated...
Pls..
Thanks!
Hi ,
i found that this error pops up due to change in the query(recordsou rce for the form).although the form is locked, if ,other options such as sorting is enabled and if there is any such operation on the form such as filter, sorting data etc, the query behind is changed (though not able to check) and if the form is closed and opened, it comes up with this message...
"query must have one destination field.......... ............"
i m trying to do some kind of lock..but any help on how to handle this is appreciated...
Pls..
Thanks!
Hi jaishu. Sorting or filtering in a form does not normally cause a modification to the recordsource itself. I doubt we can resolve this without seeing the form concerned and looking at the query dependencies that underly it. If it would help I am happy to check your database for you, which you could send to me by e-mail. If this is suitable please send me a PM to confirm and I will send you my e-mail address accordingly.
-Stewart
NeoPa 32,564
Recognized Expert Moderator MVP
Jaishu,
Consider first attaching the (zipped version of the) database to this thread.
Also, in case it can help any, please review Example Filtering on a Form for further understanding of filtering.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Mohammed Mazid |
last post by:
Can anyone please help me here? Basically I have modified the source
code and understood it but when I update a record in the db using a
JSP, it gives me an error "The flight you selected does exist."
Althought there is not selection going on, instead it is entered, I
need it to match the flight in the db using the flightNo. I want all...
|
by: tony bergstrom |
last post by:
Ok, so I have a Form. It is a continuous form.
In the header one selects what person to view data for. Once the
person is selected, the travel information that has been budgeted for
the year associated with that person appears below (this is a 3 table,
many to many: people travel to locations).
The final line of the continuous form is...
|
by: Ariel |
last post by:
I have a question that I'm hoping someone here can answer. Let's say I
have two fields which have a beginning number and an ending number.
What I'd like to do is have Access generate a list of numbers between
the beginning number and the ending number (inclusive) for each row
that exists in my start table. For example, my start table might...
|
by: Stan Smith |
last post by:
I couldn't decide which newsgroup to post this in so I thought I would start
here.
I can create an "OLE Object" field manually in Microsoft Access and insert
an Excel spreadsheet or a Word document, etc. into the field.
I would like to be able to programmatically do the same thing. Basicaly I
want to be able to add and retrieve and...
|
by: hardik |
last post by:
hi friends,
i am really surprized the way access behaves in date fields i mean
it's all ok when you have us time zone or us servers but if you have
diffrent timezone like uk then access creates so many problems ....
first of all i try access with uk settings in date/time in field but
access changes date after 09/11 to 11/09 i don't know...
| |
by: etuncer |
last post by:
Hello All,
I have Access 2003, and am trying to build a database for my small
company. I want to be able to create a word document based on the data
entered through a form. the real question is this: can Access create
the document and place it as an OLE object to the relevant table?
Any help is greatly appreciated.
Ricky
|
by: bhodgins |
last post by:
Hi,
I am new on here, and had a newbie question that I am stumped with.
I am not new to access, but am new to VB.
I am trying to export BLOBs from a field called photo to external jpeg files. I have tried the MS kb 210486 and successfully got the import/export to work with a sample table, but only the first record. I do not wish to impost...
|
by: masonic35and7 |
last post by:
I work for a school district, and I have just imported 6 Excel
worksheets into Access 2007. Now I have 6 different tables. In each
table all the fields are the same. I need the easiest way to merge
all the tables into one huge table. There are at least 2,500 records
per table if that makes a difference.
I am unfamilar with writing any...
|
by: ashes |
last post by:
Hi,
I am creating an ecommerce website using Microsoft Visual Studio, VB.Net and MS Access 2003. I am new to VB.Net
When someone wants to register on the website, they fill out a form and the contents of the form is inserted into the MS Access database.
The Customer table in the database already has 30 records (with CustomerIDs 1 - 30)...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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...
| |
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. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |