I am wanting to put a button on a main form that will toggle the subform from FormView to DatasheetView and back.
I have found out that the FormView has a value of 1 and DataSheetView has a value of 2, but have not been able to find the syntax to change the CurrentView value in VBA.
It seems like this value is readonly in VBA, can someone confirm that or let me know how to change the CurrentView value in VBA?
Thanks in advance.
TwoOdd
--------------
Good judgment comes from experience, and experience comes from bad judgment.
-- Barry LePatner
I have found out that the FormView has a value of 1 and DataSheetView has a value of 2, but have not been able to find the syntax to change the CurrentView value in VBA.
It seems like this value is readonly in VBA, can someone confirm that or let me know how to change the CurrentView value in VBA?
Thanks in advance.
TwoOdd
--------------
Good judgment comes from experience, and experience comes from bad judgment.
-- Barry LePatner