View Single Post
  #9 (permalink)  
Old 09-09-09, 13:47
Ax238 Ax238 is offline
Registered User
 
Join Date: May 2009
Posts: 257
Change it to:
Code:
sql ="SELECT tVendor.sVendorName," & _ 
" tVendorType.sVendorTypeDesc,tVendor.sVendorImg,tVendor.sVendorWebsite,tProductType.lID" & _
" FROM tVendor INNER JOIN tVendorType ON tVendor.lid = tVendorType.lVendorID" & _
" INNER JOIN tProductType ON tVendorType.lProductTypeID = tProductType.lID" & _
" WHERE tProductType.lID = " & num
Reply With Quote