I am trying to use asdoc to create a table with the data I want.

I first use:
Code:
sum XYZ if tin(31jan1976, 30jun2010)
which shows the standard summary statistics as normal
then I use
Code:
 asdoc, accum(`r(N)', `r(mean)', `r(sd)')
to store it as I read about in this guide: https://fintechprofessor.com/2018/09...stata-ms-word/

then I try to add it to a word document like this:

Code:
asdoc, row(Mean, Std, Skew, Kurt, p1, p3, p6, p12)
Code:
asdoc, row(31jan976-30jun2010, $accum)
(also tried:
Code:
 asdoc, row(XYZ, $accum)
and
Code:
asdoc, row($accum)
.)
But i only get blanks in the table where the stored values are supposed to go. Have i misunderstood the code?