Switchboard

S

Slacy

I have created a switchboard in Access 2000. For some
reason my forms are not holding. I just want them to look
like a datasheet. Am I missing something? All my reports
are holding. Please help! Thanks
 
A

Allen Browne

Change the OpenForm code to specifically open in datasheet view:
DoCmd.OpenForm "MyForm", acFormDS
 
S

Slacy

Allen, thanks for the info. I had changed it to open in
datasheet view, but with no luck I am still getting a form
layout. I have changed this in the property box. The
strange thing is when I open it without going thru the
switchboard it opens in datasheet view. Any suggestions?
Thanks
 
A

Allen Browne

The fact that it opens in datasheet view when opened from the database
window shows you have set the property correctly.

The fact that it opens in Form view when opened through code indicates that
you have not supplied the acFormDS argument correctly.
 
S

slacy

Okay, makes sense. Where do I correct that at? I used
the switchboard manager to help create my
switchboard....thanks many!!!
 
A

Allen Browne

Slacy, I find the built-in Switchboard is not powerful enough for most
things. You may need to create your own unbound form with the command
buttons you want, and then specify the desired code in the Click event of
each command button.
 

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