I have a subform with a default continuous forms view. Some users prefer to see the subform in Datasheet view.
I have read some threads that suggest using two subforms and alternating between the two for the desired view. I have read that Access cannot change the view of a subform unless it is in Design view. However...
If you right click over a heading in the subform, a menu appears with a Subform item and a submenu below that which allows you to change the view to Datasheet or Form view.
This leads me to conclude that the change can be made without being in design view. How could one capture the code for these mouse operations? (ie Excel lets you record a macro this way is there a way in Access to accomplish the same?)
I would like to do this using a toggle button.
Any Thought?
I have read some threads that suggest using two subforms and alternating between the two for the desired view. I have read that Access cannot change the view of a subform unless it is in Design view. However...
If you right click over a heading in the subform, a menu appears with a Subform item and a submenu below that which allows you to change the view to Datasheet or Form view.
This leads me to conclude that the change can be made without being in design view. How could one capture the code for these mouse operations? (ie Excel lets you record a macro this way is there a way in Access to accomplish the same?)
I would like to do this using a toggle button.
Any Thought?