A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"Update To" in update query



 
 
Thread Tools Display Modes
  #1  
Old May 10th, 2005, 04:14 PM
Lambi000
external usenet poster
 
Posts: n/a
Default "Update To" in update query

If I have two tables in an update query, why can't I update one field with
the corresponding field in another table? It just moves to the next
available column. Then, of course, it won't run. What am I doing wrong?

I am suspicious because many things that should work in this installation of
Access 2000 don't necessarily work.

Thanx
  #2  
Old May 10th, 2005, 08:10 PM
Michel Walsh
external usenet poster
 
Posts: n/a
Default

Hi,


UPDATE inventory INNER JOIN reception ON inventory.itemID = reception.itemID
SET inventory.unitPrice = reception.NewUnitPrice


update the unit price in inventory, accordingly to the new unit price, in
reception, for each itemID common to both tables.



Hoping it may help,
Vanderghast, Access MVP


"Lambi000" wrote in message
...
If I have two tables in an update query, why can't I update one field with
the corresponding field in another table? It just moves to the next
available column. Then, of course, it won't run. What am I doing wrong?

I am suspicious because many things that should work in this installation
of
Access 2000 don't necessarily work.

Thanx



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Update Query Not Working From ADO Barry-Jon Running & Setting Up Queries 3 March 18th, 2005 08:42 PM
Update query to resequence MSROOKIE Running & Setting Up Queries 2 March 7th, 2005 01:11 PM
Update Query including a Union Query Vincdc Running & Setting Up Queries 2 February 28th, 2005 09:17 PM
Nested in-line Query laura Running & Setting Up Queries 0 February 11th, 2005 12:17 AM
Update query by 1/2 entered number Eb1mom Running & Setting Up Queries 2 July 9th, 2004 02:07 AM


All times are GMT +1. The time now is 09:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.