Form view switching

C

Carl

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
 
J

Jonathan Parminter

-----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
 
C

Carl

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top