jaycee99
2nd July 2008, 11:22
What is the command to run a SAVE function without click on the SAVE button icon? For example, I have 5 column for a record, after i key in the first column, it will directly save that record without manually click on the SAVE button.

Hiba_t
2nd July 2008, 12:35
Try the following command,

execute(update.db)

Check this function's documentation in the following link

http://http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_execute

Hope it helps

Hiba

jaycee99
7th July 2008, 05:49
Hi Hiba,

The link that u given, cannot access. No such link.

Hiba_t
7th July 2008, 08:11
Sorry...

Here it is again,

http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_execute

NirajKakodkar
9th July 2008, 13:53
Hi ,

If you are talking about multioccurence session wheren in , after you tab in a record you want it to save automatically , then use this .

enable.save.on.occ.change ()

Regards,
Niraj

ulrich.fuchs
9th July 2008, 16:42
If it's "saving as soon as the user steps out of a particular field" - don't do it. It's the kind of development that is a nightmare to maintain and to migrate. And usually it's a signal that something is wrong with your data model. Stick to the standard behaviour of sessions, and respect the flow of the standard program: The user is free to jump between the fields, dependend fields are modified by the DAL and only the DAL, and the record is saved when the user presses save or leaves the record (enable.save.on.occ.change, see above).

Focus on programming application logic, not on user interface logic. Use the user interface logic the Baan tools environment offers to you as programmer, and don't hack it just because some of your user(s) want the tools environment to behave differently. It behaves like it does, and that's it.

This should be the bible for all Baan 4GL developers:

http://www.baanboard.com/programmers_manual_baanerp_help_4gl_features_flow_of_standard_program

Rgds
Uli

sameer.don
3rd November 2010, 11:08
Hi,
Is there any equivalant function in Baan IV for enable.save.on.occ.change ?

mark_h
3rd November 2010, 15:53
Not that I am aware of. As mentioned you can try execute(update.db) and see the link, but read ulrichs post - good advice, if possible.