General information
Category:
Forms & Form designer
Title:
Perdida de variable
al crear un formulario maestro detalle en VF 5.0 y asignar al boton cancelar el codigo:
select s_dept=tablerevert(.t.)
donde s_dept es mi tabla de departamentos hija y la tabla maestra es s_region, los indices de relacion son s_region.id y s_dept.regionid, al ejecutar el formulario me dice que no existe la variable s_dept, esta tabla existe en el entorno de datos, no se pierde la tabla padre s_region, ¿hace falta algun código a nivel de form?, al nivel de form en el evento destroy existe el código:
select s_dept=tablerevert(.t.)
la tabla hija se encuentra en buffer óptimo.
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