General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Actualización de vistas
Hola a todos
Tengo un formulario tipo padre-hijo basado en dos vistas locales paramétricas. Las vistas estan basadas en tablas con id autoincremental (tipico newId) y están creadas con el diseñador de vistas. Todos los campos actualizables menos los id.
De esta forma las pongo en el DE sin DataOnLoad. La vista padre tiene un Buffer Mode 3 y la hija 5. Al añadir un registro al primario hago:
SELECT lv_presup
APPEND BLANK
Y luego para añadir al secundario:
SELECT lv_det_presup
APPEND BLANK
** REPLACES de todo menos el codigo
Al guardar ..
SELECT lv_presup
llAct1= TABLEUPDATE()
SELECT lv_det_presup
lnAct2= TABLEUPDATE(.T.)
... me da todo el rato lnAct2 = .F. y no me guarda los cambios en la tabla.
Si cambbio el buffermode a 3 me da error 1884.
¿En que estoy fallando?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only