Switching Continuous to Single-Record view

  • Thread starter Thread starter Dave Alger
  • Start date Start date
D

Dave Alger

Hi all,

I have a subform displaying records in Continuous view. I'd like to be able
to change it programatically to show a single-record view (and vice versa).

Is this possible? I thought the CurrentView might be an answer, but that's
read-only at runtime.

Thanks in advance for any help you can offer.

regards,
Dave
 
I am not sure about changing from the CtsFormView to NormalFormView but you
can switch the Subform from DatasheetView to FormView using:

DoCmd.RunCommand acCmdSubformFormView

(The Subform needs to have the Focus when the above statement is executed.)
 
Back
Top