Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy Record and change a field value

Status
Not open for further replies.

TimTDP

Technical User
Joined
Feb 15, 2004
Messages
373
Location
ZA
In Access 2000 I have a table called tblProduct". Apart from other fields it has a field called "ProductType

I want to copy the entire record and in the process change the value of ProductType. ProductType is part of an index so it cannot be duplicated.

What is the easiest method to do this?
 
I think an append query would be the best bet.

Insert Into tblProducts (This, That, ProductType) Select (This, That, 2) From tblProducts Where ID=7
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top