G
Guest
I am trying to associate the part no. of products in one table to their pics
in another.
example:
PN PIC
ds11300 ds11300a.jpg
ds1127665 ds1127665.jpg
ds112983 ds112983as.jpg
The relationship between the tables is an auto number in the pic table
linked to a column in the Parts' table called Img_ID. I'm trying to run a
query which translates into the following SQL:
SELECT tblDS.[Part No], tblImages.Img
FROM tblDS LEFT JOIN tblImages ON tblDS.Img_ID = tblImages.ImgID
WHERE (((tblImages.Img) Like [tblDS].[Part No] & "*"));
I'm not getting any errors, but no records are returned, either.
I'm trying to use the part number and a wildcard with the like operator in
the criteria so I can update the Img_ID s for my parts and move on to the
next obstacle. Any help would be greatly appreciated.
in another.
example:
PN PIC
ds11300 ds11300a.jpg
ds1127665 ds1127665.jpg
ds112983 ds112983as.jpg
The relationship between the tables is an auto number in the pic table
linked to a column in the Parts' table called Img_ID. I'm trying to run a
query which translates into the following SQL:
SELECT tblDS.[Part No], tblImages.Img
FROM tblDS LEFT JOIN tblImages ON tblDS.Img_ID = tblImages.ImgID
WHERE (((tblImages.Img) Like [tblDS].[Part No] & "*"));
I'm not getting any errors, but no records are returned, either.
I'm trying to use the part number and a wildcard with the like operator in
the criteria so I can update the Img_ID s for my parts and move on to the
next obstacle. Any help would be greatly appreciated.