Simplicty and flexibility!


Function::Action

RecordSave
RecordSave()
retval := RecordSave().
RecordSave("Silent") -- Save in background, no screen update.
RecordSave("Close") -- Save and then close form.(DE9)
RecordSave("AsNew") -- Same as RecordSaveNew() which is now obsolete. (DE9)


Save the current record. If record already exist it will update the record. 

Parameters


None
"Silent" : (Optional) Will save in background - Silent - without interfering with current work. No screen update etc.

Returns/Result


Status: Integer

Examples


Reference

See Also


On the forum about RecordSave

RecordSaveNew and erase field value in OML with just one button

Hi.Does anyone know how I can use just one button to execute two procedures as follows? When pressing the button, following events should occur:1. The Current record should be saved (save new record)2. Values in specified fields s...

Product: . Written by Daniel Kron 08/02/20 at 17:27:09

Re:RecordSaveNew and erase field value in OML with just one button

Hi DanielYou can do as follows:Button - Exceute function/derivationRecordSave() + SetValue() Refer to attached image.Hope this helpsRegardsJosef...

Product: . Written by Josef Vella 08/02/20 at 17:37:05

Re:Re:RecordSaveNew and erase field value in OML with just one button

Thank you Josef. It seem that this does not work in my version (DE6.52). My bad I didnĀ“t write what version I am using. Sorry. Thank you anyway. Maybe you know how to do it in 6.52 (6.53)?Have a good daySincerely,//Daniel...

Product: . Written by Daniel Kron 09/02/20 at 10:41:15

Re:Re:Re:RecordSaveNew and erase field value in OML with just one button

DanielSample attached.  Not very elegant but it works.Take a look and let me know if this helps.regardsJosef...

Product: . Written by Josef Vella 09/02/20 at 19:55:00

Re:RecordSaveNew and erase field value in OML with just one button

Donwload Sample We have updated Josefs sample a little to show you how you can do this in OML.But for the love of GOD! This is absolute crap....

Product: LegEasy 6 Windows. Written by DataEase 10/02/20 at 17:57:43

On the blog about RecordSave

DataEase 8.5.0.2440 - RecordSave("Silent") - Background Save of Changes with no Visual impact.

DataEase has a tendency to do a lot more than you want to in one function and part of the 8.x program is to give the power back to the developer.In 8.x we have introduced a lot of new features that "stress" the old paradigm of DataEase.W...

Product: Dataease [{8}]FIVE. Written by DataEase 29/07/16 at 14:25:47


dg3_HelpView