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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save & Clear Form problem

Status
Not open for further replies.

KerryL

Technical User
May 7, 2001
545
US
I've created a form to enter customer data, and I added a command button to save the new record and another to clear the form (based on the undo command). My thinking was that if I wanted to enter more records, I'd need to clear all the fields to start over.

But I have a suspicion this isn't the way to do it, because if I select the Clear(Undo) button after clicking on the Save cmd button, I receive a message that says if I continue I'll delete a record.

What's the best way to clear the form? (I don't want to do it automatically on the save because a third cmd button allows the user to enter order requests for the customer, and the CustID takes the info to the order form.)

Thanks,
KerryL
 
Is your form bound to a table? If so, the navigation buttons at the bottom of the form will take care of this for you. The buttons will allow you to move from one record to the next in your table and will always allow you to move onto a new (empty fields) record. Maq B-)
<insert witty signature here>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top