Set column value in a document property


I think I have a very easy question, but I can't find the answer. I would like to set the Max([Date]) value from a column to a document property. Does somebody knows how I can fix this with a script or more easy?

The [Date] is a column in my SQL dataset. 

Thanks you!


(1) Answer