Open a form to add records

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When using the switchboard, an option for opening a form is "Open a form in
ADD mode." But when I try to add a button to other forms (being used as a
switchboard) I cannot open the form in add mode... Any suggestions on how to
accomplish this?

Mike
 
in the command button's Click event procedure, use

DoCmd.OpenForm "FormName", , , , acFormAdd

substitute the correct form name, of course.

hth
 
That worked great!! Thanks for the help.

Mike

tina said:
in the command button's Click event procedure, use

DoCmd.OpenForm "FormName", , , , acFormAdd

substitute the correct form name, of course.

hth
 

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

Similar Threads

Error reading Switch Board table 3
Form Event 2
Switchboard not access latest form 1
Access Switchboard error message 1
Open datasheet view from switchboard 2
Switchboard Minimized 4
Form opening gigantic! 2
Form Views 2

Back
Top