Set agent value to a form

dear friends,how can an agent use Notesdocument.createdocument to set agent value to a form?

thanx for answering my question.

my sincerely,

Paul