Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Perdida de variable
Message
 
To
26/06/2001 01:36:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00523411
Message ID:
00523468
Views:
8
Luis,

Tienes incorrecta la sintaxis, trata con:
   select s_dept
   MiVar = tablerevert(.t.)
o puedes mezclaras con:
   MiVar = tablerevert('s_dept',.T.)
------------------------------
You've got the wrong syntax. Try this:
   select s_dept
   MyVar = tablerevert(.t.)
or you can mix them like this:
   MyVar = tablerevert('s_dept',.T.)
>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.
Hector Correa
Previous
Reply
Map
View

Click here to load this message in the networking platform