Easy to Create, Easy to Change - Easy to use!


log in screen


Started by diego fernando Ocampo
Search
You will need to Sign In to be able to add or comment on the forum!

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

Written by diego fernando Ocampo 10/10/13 at 05:07:00 DataEase for Windows 7.x

Re:log in screen

Define "Fun" Number .

fun := SelectRecords () + RecordNext () .

Written by diego fernando Ocampo 10/10/13 at 05:34:20 DataEase for Windows 7.x

Re:Re:log in screen

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.

Written by DataEase 10/10/13 at 07:55:28 DataEase for Windows 7.x