Delete select Records from an access table via a form

G

Guest

I want to delete the active record from a form...fields include: FirstName,
LastName, EmployeeID, DeptCode. The dept code field is supplied from another
table using a combo box.

Created a command button for the delete action but cannot figure the code
required to simple delete the record. Any help would be appreciated.
 
G

G. Vaught

If you add a command button on your form in design view it should activate a
wizard that allows you to place a delete button on the form. Upon execution
it will delete the current record.

I would not place a command button to delete multiple records on a form.
This could be very dangerous.

To delete a group of records from a table create a query to run based on the
required criteria to delete.
 

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