> For the complete documentation index, see [llms.txt](https://doc.velneo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.velneo.com/23/velneo-vdevelop/scripts/lenguajes/javascript/clases/vqmlformdataview.md).

# VQmlFormDataView

**Hereda de:** [VAbstractDataView](/23/velneo-vdevelop/scripts/lenguajes/javascript/clases/vabstractdataview.md).

Esta clase representa a un objeto formulario QML.

## Funciones

**De comandos**

| Retorno | Función                                                                                              |
| ------- | ---------------------------------------------------------------------------------------------------- |
| void    | [closeForm](/23/velneo-vdevelop/scripts/lenguajes/javascript/clases/vqmlformdataview.md#closeform)() |

**Generales**

| Retorno | Función                                                                                                                        |
| ------- | ------------------------------------------------------------------------------------------------------------------------------ |
| void    | [LoadAuxModel](/23/velneo-vdevelop/scripts/lenguajes/javascript/clases/vqmlformdataview.md#loadauxmodel)( String szNameModel ) |

## Documentación de funciones

### Funciones de comandos

#### void closeForm() <a href="#closeform" id="closeform"></a>

Esta función sólo cierra el formulario. No guarda la información del registro. En QML debe ejecutarse sobre el DataView del Root.

Por ejemplo: theRoot.dataView().closeForm();

### Funciones generales

#### void LoadAuxModel( String szNameModel ) <a href="#loadauxmodel" id="loadauxmodel"></a>

Carga los registros del modelo auxiliar.

Parámetros:

* szNameModel: nombre asignado al modelo en la propiedad Nombre en QML del modelo auxiliar.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.velneo.com/23/velneo-vdevelop/scripts/lenguajes/javascript/clases/vqmlformdataview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
