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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Update Query



 
 
Thread Tools Display Modes
  #1  
Old February 25th, 2006, 09:02 AM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Update Query

What's wrong with my query?

UPDATE InventointiPohja INNER JOIN Tiedot ON InventointiPohja.ID = Tiedot.ID
Set Tiedot.[*] = InventointiPohja.[*]
WHERE InventointiPohja.OK=-1;

When I run it , error message says that there must be update query to be
used....

totally confused -elli-


  #2  
Old February 25th, 2006, 01:06 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Update Query

elli wrote:
What's wrong with my query?

UPDATE InventointiPohja INNER JOIN Tiedot ON InventointiPohja.ID =
Tiedot.ID Set Tiedot.[*] = InventointiPohja.[*]
WHERE InventointiPohja.OK=-1;

When I run it , error message says that there must be update query to
be used....

totally confused -elli-


I don't believe you can use the * in an update query. Try listing all if the
fields individually.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


 




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
Cross tab query construction with Subqueries Steven Cheng Running & Setting Up Queries 7 February 13th, 2006 06:52 PM
Update query giving blank results - Access 2003 Ann Scharpf Running & Setting Up Queries 2 September 3rd, 2005 10:21 AM
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
Using an append query with an update query Joshua Schairbaum Running & Setting Up Queries 1 July 15th, 2004 02:22 AM


All times are GMT +1. The time now is 10:37 PM.


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