By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,466 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,466 IT Pros & Developers. It's quick & easy.

split-form to single form in vb

P: n/a
I am looking for the VB code to switch the way a form opens on click
event. Specifically I have a form created with a default split view
setting. I would like to open this form in single form style (minus
the datasheet side) from a button on another form.
Thanks,
Nick

Sep 12 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Wed, 12 Sep 2007 13:36:31 -0700, nd****@morrisseyinc.com wrote:

It appears that's not possible, since you can't set the DefaultView
property in code.

-Tom.

>I am looking for the VB code to switch the way a form opens on click
event. Specifically I have a form created with a default split view
setting. I would like to open this form in single form style (minus
the datasheet side) from a button on another form.
Thanks,
Nick
Sep 13 '07 #2

P: n/a
Tom van Stiphout wrote:
On Wed, 12 Sep 2007 13:36:31 -0700, nd****@morrisseyinc.com wrote:

It appears that's not possible, since you can't set the DefaultView
property in code.
Although I've never had the need to do it, couldn't the OP open the form
hidden and in design mode, mod some properties, then close the form with
acSaveYes? This is moot if it's an MDE of course.

-Tom.
>>I am looking for the VB code to switch the way a form opens on click
event. Specifically I have a form created with a default split view
setting. I would like to open this form in single form style (minus
the datasheet side) from a button on another form.
Thanks,
Nick
Sep 14 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.