error in treport
Posted: Fri Oct 20, 2006 3:38 pm
In the lates FWH there is an error in tReport():new() when the device is not defined
if Empty( ::oDevice:hDC )
return nil // <-- this is an error
else
::lCreated := .t.
endif
so I changed code to
if Empty( ::oDevice:hDC )
::lCreated := .f.
return Self
else
::lCreated := .t.
endif
Is there anything else I need to do?
if Empty( ::oDevice:hDC )
return nil // <-- this is an error
else
::lCreated := .t.
endif
so I changed code to
if Empty( ::oDevice:hDC )
::lCreated := .f.
return Self
else
::lCreated := .t.
endif
Is there anything else I need to do?