============
apply_record
============

.. js:function:: apply_record() 

**domain**: client 

**language**: javascript

**class** :doc:`Item class </refs/client/item_api>`

Description
===========

Writes changes to the application dataset. 

The ``apply_record`` method 

* calls the
  :doc:`apply <m_apply>`
  to writes changes to the dataset. 

* calls the
  :doc:`close_edit_form <m_close_edit_form>`
  method to destroy the edit_form

See also
========

:doc:`Visual editing of records </programming/interface/visual_editing>`

:doc:`Modifying datasets </programming/data/modifying_datasets>`

:doc:`close_edit_form <m_close_edit_form>`

:doc:`apply <m_apply>`
