Datasheet view problems

E

eric

Greetings,

Does anyone know why a form that is configured to open in datasheet view
will always open in form view when launched from a switchboard or any other
command button? Is there a way to fix this? (Access 2002)

Thanks,
Eric
 
D

Dan Artuso

Hi,
It's because when you open a form programatically,
you have have to specify acFormDS in the view argument,
no matter what is set on the property sheet.
Check it out in Help.
 
E

eric

Thank-you. That did the trick.

Dan Artuso said:
Hi,
It's because when you open a form programatically,
you have have to specify acFormDS in the view argument,
no matter what is set on the property sheet.
Check it out in Help.
 

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