Why assume the ActionLog field is on a form? Just add it to the document conditionally so you don't have a runtime error when you forgot to add the field.
if document.hasitem("ActionLog") then
Set item = document.GetFirstItem( "ActionLog" )
else
Set item = document.appenditemvalue ("ActionLog","")
Why assume the ActionLog field is on a form? Just add it to the document conditionally so you don't have a runtime error when you forgot to add the field.
if document.hasitem("ActionLog") then
Set item = document.GetFirstItem( "ActionLog" )
else
Set item = document.appenditemvalue ("ActionLog","")
end if