Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save button

Status
Not open for further replies.

Dukester0122

IS-IT--Management
Mar 18, 2003
587
US
I have a form called Remittance with the following fields:
RemittanceID, Customer, Address, State, Zip, Telephone

I've created a Save button which I want to save the data then clear the fields after. Here's my code:

Private Sub Save_Click()
On Error GoTo Err_Save_Click

DoCmd.RunCommand acCmdSaveRecord
DoCmd.GoToRecord , , acNewRec

Exit_Save_Click:
Exit Sub

 
I need help with the coding to clear the fields after saving...tks for asking!
 
Going to a new record should leave you with clear fields with the exception of insertions due to code or table level requirements.

Cheers,
Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top