I have the following recordset:
Dim rs As DAO.Recordset
Set rs = CurrentDb.OpenRecordset("SELECT Productid, code, categoryid,supplierid, size, ddu, grossprice,
office,cons,vip,dealer,pref ,bosch,drummer,oem,rig FROM products")
' fix office prices
rs.MoveFirst
Do
.............
I need to fix up the prices only in those cases where supplierid = 2.how can i change the recordset?
Dim rs As DAO.Recordset
Set rs = CurrentDb.OpenRecordset("SELECT Productid, code, categoryid,supplierid, size, ddu, grossprice,
office,cons,vip,dealer,pref ,bosch,drummer,oem,rig FROM products")
' fix office prices
rs.MoveFirst
Do
.............
I need to fix up the prices only in those cases where supplierid = 2.how can i change the recordset?