Hi,
I did the following to get some operations done but since i did the selection, i stored one field value to string so i can update it, how is that done?
Code:
Set dbsNorthwind2 = CurrentDb
Set rstShippers2 = dbsNorthwind2.OpenRecordset("Units")
rstSQL = "SELECT * FROM Units WHERE UnitID =" & msg & ""
Set rstShippers2 = dbsNorthwind2.OpenRecordset(rstSQL)
rstUnitNumber = rstShippers2!UnitNumber
rstUnitType = rstShippers2!UnitType
rstLocationFloor = rstShippers2!LocationFloor
IsOccupied = rstShippers2!IsOccupied this one i need to update, the rest i used to add to new table
Thanks,
Rami