Open form in data view

kupe

Registered User.
Local time
Today, 02:28
Joined
Jan 16, 2003
Messages
462
I want to open a form which is in data view. So DoCmd won't oblige with my usual form-opening code, and it isn't interested in my amateurish playing with options.

Anyone know the precise cmd code please to open in data view?
 
Last edited:
Can't you just set the form's Default View?
 
Hi MoP
I do, but it opens the form in normal view. (access2k)
 
kupe said:
I want to open a form which is in data view. So DoCmd won't oblige with my usual form-opening

And this doesn't work?

Code:
DoCmd.OpenForm "MyForm", acFormDS
 
It does. You're brilliant. Many thanks.
 

Users who are viewing this thread

Back
Top Bottom