M
Matt Pierringer
Alright I am using DAO to loop through a recordset(like my other
question, I still need help in my other question as well, but maybe I
can get a smaller answer here), but I am going to be way more specific
on what I need.
Set strSql = "SELECT tblProducts.Catalog, tblProducts.MaterialNumber,
tblProducts.Manufacturer, tblProducts.GMR, tblProducts.Category,
tblProducts.Description, tblProducts.[Sub-Category],
tblProducts.SortOrder, tblProducts.AddedNote, tblProducts.Required,
tblProducts.NoList, tblProducts.Hyper_Link, tblProducts.ProductID,
tblProducts.Deleted, tblProducts.Cost From tblProducts WHERE
(((tblProducts.Manufacturer) Is Not Null And
(tblProducts.Manufacturer) Like " & rsQuery!Manufacturers & ") AND
((tblProducts.Deleted)=False));"
My question is when I am using DAO how should I be referring to what I
need "rsQuery!Manufacturers" or should it be a string like strManuf
and how would I go about declaring that (as DAO.recordset?)
Thanks,
Matt
question, I still need help in my other question as well, but maybe I
can get a smaller answer here), but I am going to be way more specific
on what I need.
Set strSql = "SELECT tblProducts.Catalog, tblProducts.MaterialNumber,
tblProducts.Manufacturer, tblProducts.GMR, tblProducts.Category,
tblProducts.Description, tblProducts.[Sub-Category],
tblProducts.SortOrder, tblProducts.AddedNote, tblProducts.Required,
tblProducts.NoList, tblProducts.Hyper_Link, tblProducts.ProductID,
tblProducts.Deleted, tblProducts.Cost From tblProducts WHERE
(((tblProducts.Manufacturer) Is Not Null And
(tblProducts.Manufacturer) Like " & rsQuery!Manufacturers & ") AND
((tblProducts.Deleted)=False));"
My question is when I am using DAO how should I be referring to what I
need "rsQuery!Manufacturers" or should it be a string like strManuf
and how would I go about declaring that (as DAO.recordset?)
Thanks,
Matt