Main form not able to update after close

G

Guest

Hello all. I'm kind of a newb so bear with me. Ok, i have a main form with a
control button with the on click code of:
Private Sub Command35_Click()
On Error GoTo Command35_Click_Err

DoCmd.Close acForm, Me.Name
DoCmd.OpenForm "FrmPause"

Command35_Click_Exit:
Exit Sub

Command35_Click_Err:
MsgBox Error$
Resume Command35_Click_Exit

End Sub
It then opens a form with a command button with the on click command of:
Private Sub Command2_Click()

DoCmd.RunSavedImportExport "Import-UPS_ CSV_EXPORT"
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm "OrdersRemainingToBeShippedWithNotes Without Matching UPS_
CSV_EX"

End Sub
The second command button works fine by itself. It's only when i combine the
two that the table based on the saved import will not update. Any and all
help is greatly appreciated.
Thanks,Asib
 

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