When did they say this to Moshe?
Rashbam: After they heard the Aseres ha'Dibros from Ha'Kadosh-Baruch-Hu. 1
Rashbam: Had they not said it, it seems, He would have told them the whole Torah.