[Stata] How to Get the Beta Coefficient as a Variable using Stata

#1
After regressing by gvkey: lag1 lag2

I get 815 tables with a beta coefficient included. But I am only interested in getting these betas in a list for further use.

Thx for your reaction in advance!