Translate

Wednesday, 13 February 2013

multiple reports in SQR

Begin-Setup
!***********************

Declare-Report EE_Data
!Layout=EE_Data
End-Declare
Declare-Report Term_Dependents
!Layout=Term_Dependents
End-Declare
End-Setup
begin-program
use-report EE_Data        !!!using USEREPORT command we can print on specific report!!!
print 'hi surya' (1,1)
use-report Term_Dependents   
print 'bye surya' (1,1)
end-program
Begin-Heading 4 For-Reports=(EE_Data)
print 'this is report 1' (+1,1)
end-heading
Begin-Heading 4 For-Reports=(Term_Dependents)
print 'this is report 2' (+1,1)
end-heading

No comments:

Post a Comment