How do i delete a record selected in a form

johnzila

Registered User.
Local time
Today, 15:29
Joined
Jun 19, 2004
Messages
11
How do i delete a record selected in a form.

Wat are the commands...

Main form : Inventory
Sub Form: Stock

How do I create a button to delete the record i selected in Stock.
Just delete tat record i selected will do

Really urgent

Thx :
 
1 - Select the record you want to delete (if you have a record selector on the subform, just click it, else go to the Edit menu and choose Select Record)
2 - Go to the Edit menu and choose Delete Record
 
thx...i get wat u mean...

But the idea is tat when i click a record tat appear on the sub form(Data Sheet View) i wana click on a command button to delete.

I would like my form to be more interactive to those beginners who use my Access Database...

Therefore, is it possible to have codes in the command button in the "on Click" event?

I don't know how to code it.
 
click the button icon and make a button, then use the command button wizard that appears and it has a delete button in there under record navigate. you should now have a delete button :D
 

Users who are viewing this thread

Back
Top Bottom