473,804 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "Descriptio n" 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.Su bsec, tblSpecItems.De scription,
tblSpecItems.In dex
FROM tblSpecItems LEFT JOIN qryJobSpecsAll ON tblSpecItems.id =
qryJobSpecsAll. id
WHERE (((qryJobSpecsA ll.id) Is Null));

Thanks!
Rich
Nov 13 '05 #1
3 5805
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*****@comcas t.net> wrote in message
news:70******** *************** ***@posting.goo gle.com...
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 "Descriptio n" 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.Su bsec, tblSpecItems.De scription,
tblSpecItems.In dex
FROM tblSpecItems LEFT JOIN qryJobSpecsAll ON tblSpecItems.id =
qryJobSpecsAll. id
WHERE (((qryJobSpecsA ll.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.De scription
FROM tblSpecItems LEFT JOIN qryJobSpecsAll ON tblSpecItems.id =
qryJobSpecsAll. id
WHERE (((qryJobSpecsA ll.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*****@comcas t.net> wrote in message
news:70******** *************** ***@posting.goo gle.com...
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.De scription
FROM tblSpecItems LEFT JOIN qryJobSpecsAll ON tblSpecItems.id =
qryJobSpecsAll. id
WHERE (((qryJobSpecsA ll.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
9346
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 ON tblTxAcct.TxAcct_ID=qryTxAcctListCt.TxAcct_ID; I use this query as a RecordSource for a Datasheet that displays Accounts, Types, and the number of Transactions in each Account. An Account cannot exist outside of a Type, but an Account...
2
2713
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
1579
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 query string. The problem is, when I return to my initial page and do another search by entering a value in the text box then hitting enter, it takes that value and sends it to the other page as if I hit the edit link within the grid. Help...
7
17554
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
1672
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 create "reversal" records for these such that the reversal record has identical values for every column except the TaxableAmount which will contain a negative amount. (see: example data below). /* Set up */
1
24939
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 subform. This all works fine. But then, when I try to edit a record in the subform It does not let me. I have a dropdown box, but cannot select from it... does anyone know why this is, and what I could do to fix it?
5
2885
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 print it off and ring round and hurry them up a bit. I have my quote table which has the supplier ID, Site ID and an ID for each quote.(I enter each quote and specify which supplier and site it relates to. I've tried an unmatched query but can't...
10
2107
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 SQL) I have created this database for a Repair Center company to keep track of items that are received, transferred to a third party technicians, and released back to customers. I created 3 Main tables with the following fields. 1) ...
1
3333
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 (ContactGateway.cfc) - index.cfm - Deals with the business logic - display/form.cfm - Produces the form for both add and edit behaviour
0
10594
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, 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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10331
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10087
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6861
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
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
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.