Disable entire subform

Disable entire subform

Under certain conditions I want to disable an entire subform. To hide the subform I can use
hide name_of subform;

But disable does not work
disable name_of subform;

Do I need to disable each field in the subform?