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

Can't edit the results of a query

I have a query created by the "Find Unmatched" query that lists items
in a table that were not selected by another query. The Query does
what it needs to do, but I can't edit any of the resulting fields the
way I can with other Queries. E.g., the "Description" field is a memo
field, but when I try to click on the text and edit it, I get the
fimiliar "bonk" sound, telling me I can't edit this.

Here's the SQL:

SELECT tblSpecItems.Subsec, tblSpecItems.Description,
tblSpecItems.Index
FROM tblSpecItems LEFT JOIN qryJobSpecsAll ON tblSpecItems.id =
qryJobSpecsAll.id
WHERE (((qryJobSpecsAll.id) Is Null));

Thanks!
Rich
Nov 13 '05 #1
3 5777
To get an updatable query, you need to index both sides
of the join. This is done automatically if you define
a relationship between the fields, and is normally done
automatically for fields with names like 'id'.

Or perhaps it just fell over because you named a field
'index'

(david)

"Richard Coutts" <rc*****@comcast.net> wrote in message
news:70**************************@posting.google.c om...
I have a query created by the "Find Unmatched" query that lists items
in a table that were not selected by another query. The Query does
what it needs to do, but I can't edit any of the resulting fields the
way I can with other Queries. E.g., the "Description" field is a memo
field, but when I try to click on the text and edit it, I get the
fimiliar "bonk" sound, telling me I can't edit this.

Here's the SQL:

SELECT tblSpecItems.Subsec, tblSpecItems.Description,
tblSpecItems.Index
FROM tblSpecItems LEFT JOIN qryJobSpecsAll ON tblSpecItems.id =
qryJobSpecsAll.id
WHERE (((qryJobSpecsAll.id) Is Null));

Thanks!
Rich

Nov 13 '05 #2
> To get an updatable query, you need to index both sides
of the join. This is done automatically if you define
a relationship between the fields, and is normally done
automatically for fields with names like 'id'.

Or perhaps it just fell over because you named a field
'index'


I'm a newbee (a wizard wrote my SQL) and not sure what you mean by
indexing both sides of the join -- can you elaborate?

I simplified the query to get limit the number of fields and hopefully
any conflicts with the 'index' field, but I still can't edit the
results. The simpler query looks like this:

SELECT tblSpecItems.id, tblSpecItems.Description
FROM tblSpecItems LEFT JOIN qryJobSpecsAll ON tblSpecItems.id =
qryJobSpecsAll.id
WHERE (((qryJobSpecsAll.id) Is Null));

Rich
Nov 13 '05 #3
Open qryJobSpecsALL, and see if you can edit there.

If you can't edit in qryJobSpecsAll, you won't be able
to edit in any derived query. Post the SQL for
qryJobSpecsAll if that is the problem.

(david)
"Richard Coutts" <rc*****@comcast.net> wrote in message
news:70**************************@posting.google.c om...
To get an updatable query, you need to index both sides
of the join. This is done automatically if you define
a relationship between the fields, and is normally done
automatically for fields with names like 'id'.

Or perhaps it just fell over because you named a field
'index'


I'm a newbee (a wizard wrote my SQL) and not sure what you mean by
indexing both sides of the join -- can you elaborate?

I simplified the query to get limit the number of fields and hopefully
any conflicts with the 'index' field, but I still can't edit the
results. The simpler query looks like this:

SELECT tblSpecItems.id, tblSpecItems.Description
FROM tblSpecItems LEFT JOIN qryJobSpecsAll ON tblSpecItems.id =
qryJobSpecsAll.id
WHERE (((qryJobSpecsAll.id) Is Null));

Rich

Nov 13 '05 #4

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

Similar topics

7
by: deko | last post by:
SELECT tblTxAcct.TxAcctName, tblTxType.TxTypeName, Nz(qryTxAcctListCt.TxCount, 0) AS TxCt FROM (tblTxAcct INNER JOIN tblTxType ON tblTxAcct.TxType_ID=tblTxType.TxType_ID) LEFT JOIN qryTxAcctListCt...
2
by: Apple | last post by:
I had create a query with one table and one query, and then create form with that query using wizard, but I can't append or edit data in that form & query. Please help!
0
by: Steve Bishop | last post by:
I have a form with a search text box and a grid that displays the results. Within the grid, I have edit command links set up to response.redirect to another page that puts the DataKey value in the...
7
by: Patrick Hatcher | last post by:
How can I view and edit a function in psql? I have been using PgAdmin to do this but wanted to try the command line TIA Patrick Hatcher
19
by: octangle | last post by:
This code is attempting to find records that have a RegJrnID that does not occur more than one time in the table. The reason that I want to find records with non-duplicated RegJrnID values is to...
1
by: ortega.rad | last post by:
I have a form which allows you to select a record. That record has other records asscociated with it via a table. The asscociated records of the record selected on the main form are shown in a...
5
by: themastertaylor | last post by:
I've got a system to manage various quotes for building materials for a number of sites. i want a query to produce a report that shows me who HASN'T quoted for which sites. basically so i can...
10
hyperpau
by: hyperpau | last post by:
I've been going nuts about it and I've been searching all over the forums to find answers. Can somebody please help me? I am a somehow advanced Access user with basic VBA knowledge. (No ADO or...
1
by: chromis | last post by:
Hi, I'm having trouble fully implementing the edit section of a contact admin system, so far I have written the following: - Bean (Contact.cfc) - Data Access object (ContactDAO.cfc) - Gateway...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
isladogs
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...

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.