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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UPDATE QUERY TO COMBINE 3 ITEMS INTO DATA 1

Status
Not open for further replies.

MICKI0220

IS-IT--Management
Jul 20, 2004
337
US
I need to create and update query that will take the name of a part (itemName) and combine it with two other strings to make a path. I am trying to populate 2000 records with the image path. Therefore I need to combine static ....M:\MF JPG + [ITEMNAME] + .JPG. This will give the full path of the image, the only thing that changes in each record is the [itemname]. I hope I am making sense

Thank you in advance
Micki
 

How about:
Code:
UPDATE tblMyTable
SET PathField = 'M:\MF JPG\' & tblMyTable.ITEMNAME & '.JPG'
WHERE....

Have fun.

---- Andy
 
Great, that did it.

Thank you for your quick response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top