Dim nSite as Map
nSite.Initialize
nSite.Put("Formulae", "")
nSite.Put("userid", uID)
nSite.Put("areaid", aID)
' build where clause
Dim wMap As Map
wMap.Initialize
wMap.Put("id", rID)
' update the site to the database, lets build the sql command from the map
Dim iQry As String = MSMySQL_UpdateHelper("Sites", nSite, wMap)
'execute the query and return a result
db.ExecuteASync(iQry, "updateSite")