T tedekgb New member Local time Today, 15:09 Joined Nov 8, 2002 Messages 5 Nov 8, 2002 #1 Hi guys this site rocks Is there a way to make a command button that can switch a subform's view from datasheet to form view, and vice versa? Thanks
Hi guys this site rocks Is there a way to make a command button that can switch a subform's view from datasheet to form view, and vice versa? Thanks
Autoeng Why me? Local time Today, 10:09 Joined Aug 13, 2002 Messages 1,302 Nov 9, 2002 #2 You can simply right click on a continous form to switch to datasheet but you can't go back without restarting the form. I'm sure someone can come up with a solution for you as you said "this site rocks". Maybe form repaint. Autoeng Last edited: Nov 11, 2002
You can simply right click on a continous form to switch to datasheet but you can't go back without restarting the form. I'm sure someone can come up with a solution for you as you said "this site rocks". Maybe form repaint. Autoeng
T Tim K. Registered User. Local time Today, 15:09 Joined Aug 1, 2002 Messages 241 Nov 9, 2002 #3 Try this out. Code: Private Sub cmdChangeView_Click() Me.YourSubformControlName.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End Sub
Try this out. Code: Private Sub cmdChangeView_Click() Me.YourSubformControlName.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End Sub
T tedekgb New member Local time Today, 15:09 Joined Nov 8, 2002 Messages 5 Nov 9, 2002 #4 winner that's it. thanks tim