View Switching

J

JonWayn

I have a form that I want to view in Form view when opened directly, but in
Datasheet view when opened as a sub form of another form. I have used the
ViewsAllowed and DefaultView properties or the Form property of the subform
control in the Open event of the main form, and I get an error. I set the
same properties in the open event of the data form, if the Parent is not
Nothing. This doesnt produce an error, but the view doesnt change when the
main form opens. Can anyone here explain what is going on there and how,
where and when to use these properties.
 

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