Form view switching

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using a form containing a sub form. My users need to be able view in
form or datasheet views.

When I change views in the main form the subform doesn't follow in. How do I
get the subform view to change when the main form does (I know the ViewChange
event but I cannot find a method of actually switching the subform's view).

Carl
 
-----Original Message-----
I am using a form containing a sub form. My users need to be able view in
form or datasheet views.

When I change views in the main form the subform doesn't follow in. How do I
get the subform view to change when the main form does (I know the ViewChange
event but I cannot find a method of actually switching the subform's view).

Carl
.

Hi Carl,
I am only guessing here...
1. check that at table level that the main table
properties has a subdatasheet named.
2. in design view of form ensure that subdatasheet
expanded is set to 'yes'.
3. in design view of form ensure that subdatasheet height
is set to something other than 0.

Luck
Jonathan
 
That simply shows a datasheet of the parent form with the sub form entries
displayed as a form - I think code is probably needed in the ViewChange view
of the parent to change the child form view

Carl.
 
Back
Top