James Bott wrote:wndMain():bValid := {|| oRpt:lEnd := .t., .t.}
The last .t. is redundant. This is equivalent:
- Code: Select all Expand view
- wndMain():bValid := {|| oRpt:lEnd := .t.}
EMG
James Bott wrote:wndMain():bValid := {|| oRpt:lEnd := .t., .t.}
wndMain():bValid := {|| oRpt:lEnd := .t.}
armando.lagunas wrote:function reporte( lImp )
local oPrn, oRpt
IF lImp ; PRINTER oPrn FROM USER PREVIEW
ELSE ; PRINTER oPrn
ENDIF
REPORT oRpt TITLE ...... < etc >...... TO DEVICE oPrn
...
...
RETURN nil