I'd like to create an update query for an existing table that will check the contents of the productName field and populate the productImg field based on the results.
i.e.
productName
Compaq, Presario AG450, DT
Dell, Optiplex GX110, DT
Dell, Optiplex GX150, DT
productImg
Images/CompaqPreAG450DT.jpg
Images/DellOptiplexGX11DT.jpg
Images/DellOptiplexGX110DT.jpg
As you can see by the products I'm listing, our inventory is quite extensive and it changes frequently so I'd like to programmatically fix this.
Being a relative newby I'd appreciate any and all help regarding this
i.e.
productName
Compaq, Presario AG450, DT
Dell, Optiplex GX110, DT
Dell, Optiplex GX150, DT
productImg
Images/CompaqPreAG450DT.jpg
Images/DellOptiplexGX11DT.jpg
Images/DellOptiplexGX110DT.jpg
As you can see by the products I'm listing, our inventory is quite extensive and it changes frequently so I'd like to programmatically fix this.
Being a relative newby I'd appreciate any and all help regarding this