multiple tasks for buttons

  • Thread starter spcscooter via AccessMonster.com
  • Start date
S

spcscooter via AccessMonster.com

I want to be able to open a form after I save a record. This is the code
that I have to save a record and the name of the form is RMA Look Up

Private Sub Command29_Click()
On Error GoTo Err_Command29_Click


DoCmd.RunCommand acCmdSaveRecord

Exit_Command29_Click:
Exit Sub

Err_Command29_Click:
MsgBox Err.Description
Resume Exit_Command29_Click

End Sub

Thanks for everything
 
G

Golfinray

Scot - a couple of questions. Where are you trying to save the data to? Where
are you trying to save it from? A form? You want to save a record and then
open a form?
 
S

spcscooter via AccessMonster.com

Thank you for your help with this. I don't know how I did it but I
accomplished what I was trying to do.

Thanks
Scot - a couple of questions. Where are you trying to save the data to? Where
are you trying to save it from? A form? You want to save a record and then
open a form?
I want to be able to open a form after I save a record. This is the code
that I have to save a record and the name of the form is RMA Look Up
[quoted text clipped - 14 lines]
Thanks for everything
 

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