# VQmlFormDataView

**Hereda de:** [VAbstractDataView](https://doc.velneo.com/29/velneo-vdevelop/scripts/lenguajes/javascript/clases/vabstractdataview).

Esta clase representa a un objeto formulario QML.

## Funciones

**De comandos**

| Retorno | Función                   |
| ------- | ------------------------- |
| void    | [closeForm](#closeform)() |

**Generales**

| Retorno | Función                                             |
| ------- | --------------------------------------------------- |
| void    | [LoadAuxModel](#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: 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/29/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.
