Delete a record displayed on a continuous form

Zaeed

Registered Annoyance
Local time
Tomorrow, 02:37
Joined
Dec 12, 2007
Messages
383
Hey, I have a subform that displays a list of records and i'm trying to figure out how to delete one..

I've setup a delete button that deletes the record from the table, but that doesn't delete the record being shown in the subform, but simply replaces the values with #Deleted


Cheers for your help
 
You will either need to Me.Refresh or Me.Requery the form after the delete.

-dK
 
It needs to refresh

If you make a simple macro or code for runcommand SelectRecord, I just use a macro, and then DeleteRecord and put it on either a textbox or buttom on the subform then it will delete the record. Perhaps make it a double click:)
 
Cool thanks for that.. it was requery that did it..
 

Users who are viewing this thread

Back
Top Bottom