Someting like this:
local lnrec
select llamadas
lnrec=recn()
report form llamadas for llamadas.numero=thisform.numero1.value preview noconsole
go lnrec
>Hello, i have two problems with a report, everytime i print the record it close the report window and after that come the next problem, when i move from the printed record to the next or even the previous it send it to the last record, how do i avoid this?
>
>i place the next code in the print button click method from the class wizbtns:
>
>
>select llamadas
>report form llamadas for llamadas.numero=thisform.numero1.value preview noconsole
>
>
>Thanks for the help.