'SET Result = ActiveDocument.DynamicUpdateCommand ("UPDATE * SET Discount = if(Discount >= 35, 0, if (City='Stockholm', Discount + 5, Discount + 2)) WHERE Country = 'SE'")
SET Result = ActiveDocument.DynamicUpdateCommand ("UPDATE * SET flag = 1") 'stops here selecting the line
if Result = false then
Runing the macros doesn't have any effect (i.e. 'flag' field stays unchanged). Actually the macros seems to run until the ActiveDocument.DynamicUpdateCommand line. it stops there selecting the line. During macros debuging, emty message window with 'Ok' button pops up.....