Easy to Create, Easy to Change - Easy to use!

Function::Action

RecordSaveNew

RecordSaveew() retval := RecordSaveNew().

Save the current record. If record already exist a copy of the record with changes will be saved.

Parameters


None

Returns/Result


Status: Integer

Examples


Reference

See Also


On the forum about RecordSaveNew

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 RecordSaveNew