How to change Subform view mode ?

N

Nikko

Hello,

I work on an application displaying firm and employees.
I have one form displaying the firm, and a subform nested with the
associated employees.
My question is : how to switch from DataSheet view to Form view in suforms ?

thank you
 
A

Amy Blankenship

Click the label of the subform. Then click the square in the upper left of
the subform. This will select the subform itself. Now open the properties
sheet and change the "default view" property in the Format tab.

HTH;

Amy
 
N

Nikko

Amy Blankenship a écrit :
Click the label of the subform. Then click the square in the upper left of
the subform. This will select the subform itself. Now open the properties
sheet and change the "default view" property in the Format tab.

HTH;

Amy

thank you for the tip. Very usefull when programing !
But my purpose whas rather how to switch views *when* executing the form.
Don't bother I got the answer :
i use the command : Docmd.runcommand acCmdSubformDatasheetView
you call it with a control in the nested form itself.

works perfectly.
so long
 

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