change subform view in VBA

S

sps

I have a subform that I would like to provide the user the
option of switching between form view and datasheet view.
How can I do this in vba code?

thanks
Steve.
 
Top