Simplicty and flexibility!


Function::Action

RecordDelete
RecordDelete()
retval := RecordDelete().
RecordDelete("Argument")
RecordDelete("All")
RecordDelete("MainForm")
RecordDelete("Subform")+RecordSave()
RecordDelete("Subforms")


Deletes current record. Will show Delete record dialogue if no argument is added.

With argument you can delete specifically the row that has focus.

Parameters


What To Delete: String

All: delete the entire record with all subforms and nested subforms.
MainForm: Delete the mainform record only.
SubForm: Delete the active Subform Row/Record only.
SubFormS : Delete the active Subform and all nested subforms .

Returns/Result


Status: Integer

Examples


Reference

See Also


On the forum about RecordDelete

On the blog about RecordDelete

Tired of the Delete Dialogue? New RecordDelete() with Option solve that!!

I don't know about you but I hate this dialogue! Every time I get it I think - WHY? I just want to delete this record and get on with it. And now you can!...

Product: Dataease [{8}]FIVE. Written by DataEase 24/04/17 at 10:41:00


dg3_HelpView