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