# New function

**URL:** <https://forum.servoy.com/t/new-function/8416>\
**Category:** Classic Servoy\
**Created:** [November 21, 2007, 10:33am UTC](https://forum.servoy.com/t/new-function/8416 "2007-11-21T10:33:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [November 21, 2007, 10:33am UTC](https://forum.servoy.com/t/new-function/8416/1 "2007-11-21T10:33:11Z")

</div>

Do we have a new function in Servoy?  
The documentation 3.5 DevRefGuide mentions the function

```auto
application.setAutoSave()

```

See fragment from document:

> Function setAutoSave  
> Description Sets autosave as enabled or disabled; if set to false, then there will be no changes  
> displayed in the user interface until the function databaseManager.saveData() is  
> called or setAutoSave(true).  
> Syntax  
> databaseManager.setAutoSave(boolean autoSave)  
> Parameters  
> boolean autoSave - true = autosave is enabled; false = autosave is disabled.  
> NOTE: When databaseManager.setAutoSave(false) is used to disable the auto save,  
> data will not be saved unless you use setAutoSave(true), or call the function  
> saveData().  
> **NOTE: application.setAutoSave(false) will also prevent data from being saved when selecting a different record.**

But unfortunately when using this new function ![:P]( "Razz") Servoy gives an error

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [November 21, 2007, 10:37am UTC](https://forum.servoy.com/t/new-function/8416/2 "2007-11-21T10:37:35Z")

</div>

That function is not so new. Anyway, there is an error in the documentation. It’s

```auto
databaseManager.setAutoSave()

```

as mentioned at one point in the text above…
