Register records opening command in a document form