
log in screen
good night
Currently working with DataEase 7.2.3.947 and create a DQL procedure for a specific task, then show it
Define "Fun" Number .
WHILE Current status NOT = 1 DO
input using HOJA_VIDA INTO "Emple" .
CASE (Current status)
VALUE 2: EXIT
VALUE 3:
If Emple Grabado = Blank Then
fun := MessageBoxTimeoutA (0 , "Grabando Hoja de Vida Empleado" , "Validacion de Datos" ,0 ,1 ,1000 ) .
enter a record in HOJA_VIDA
copy all from Emple .
enter a record in TMP_DIRECTORIO
Nit := Emple IDENTIFICACION ;
Nombre_Completo := Emple Nombre_Completo .
modify records in HOJA_VIDA
with IDENTIFICACION = Emple IDENTIFICACION
Estado := Activo ;
Grabado := YES .
End
end
end
My question is once performed this routine I need to display the record show that I am currently recording or modifying thank you very much to anyone who can help
Define "Fun" Number .
fun := SelectRecords () + RecordNext () .
The best way of doing this in DFW 7.x is simply to use the CDF SetArray()/GetArray() to transfer the relational variable and then use a copy of the form with a Fixed Query to display the Record.
Append to the end of the DQL.
.....
Estado := Activo ;
Grabado := YES .
End
end
end
fun := SetArray(0,IDENTIFICACION) .
fun := DocumentOpen("MyCopyOfTheFormIWantToDisplayWithFilter") .
In the Copy of the form you simply add this to the QBM which will then automatically select the correct record.