Thanks Bruce!
And how to change this code to translate this:
p_web.SetOption(loc:options,'confirmDeleteMessage',p_web.translate('Are you sure you want to delete this record?'))
p_web.SetOption(loc:options,'yesDeleteText',p_web.translate('Delete'))
p_web.SetOption(loc:options,'noDeleteText',p_web.translate('No'))
Thank you,
Robert