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  

Need Help to update field to New field from different table



 
 
Thread Tools Display Modes
  #1  
Old July 15th, 2008, 02:44 PM posted to microsoft.public.access.gettingstarted
Saz
external usenet poster
 
Posts: 31
Default Need Help to update field to New field from different table

Hi,

I have two tables;

Case Table (Case ID, User Name, Customer Name, Customer Address, Date)
Change Table (Case ID, Old User Name, New User Name)

I am trying to update “Case Table” with “New User Name” from “Change
Table” if Case Table. Case ID = Change Table.Case ID.

Thank you,
Sajan
  #2  
Old July 15th, 2008, 04:06 PM posted to microsoft.public.access.gettingstarted
Klatuu
external usenet poster
 
Posts: 7,074
Default Need Help to update field to New field from different table

Create a new query.
In the query designer, add both tables
Join the tables on CaseID
Select option 1 for the join type (where = in both table)
Select the fields you want to change in the Case table in the Fields row
enter the name of the corresponding fields in the Update to row from the
Change table.

--
Dave Hargis, Microsoft Access MVP


"Saz" wrote:

Hi,

I have two tables;

Case Table (Case ID, User Name, Customer Name, Customer Address, Date)
Change Table (Case ID, Old User Name, New User Name)

I am trying to update “Case Table” with “New User Name” from “Change
Table” if Case Table. Case ID = Change Table.Case ID.

Thank you,
Sajan

  #3  
Old July 16th, 2008, 09:38 PM posted to microsoft.public.access.gettingstarted
Saz
external usenet poster
 
Posts: 31
Default Need Help to update field to New field from different table

On Jul 15, 10:06*am, Klatuu wrote:
Create a new query.
In the query designer, add both tables
Join the tables on CaseID
Select option 1 for the join type (where = in both table)
Select the fields you want to change in the Case table in the Fields row
enter the name of the corresponding fields in the Update to row from the
Change table.

--
Dave Hargis, Microsoft Access MVP



"Saz" wrote:
Hi,


I have two tables;


Case Table (Case ID, User Name, Customer Name, Customer Address, Date)
Change Table (Case ID, Old User Name, New User Name)


I am trying to update “Case Table” with “New User Name” from “Change
Table” if Case Table. Case ID = Change Table.Case ID.


Thank you,
Sajan- Hide quoted text -


- Show quoted text -



Thank you Dave. I was using "Assigned to" in a wrong way.
 




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


All times are GMT +1. The time now is 08:07 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.