I noticed that when using a report Genero only gives us two chances to exit the report, stop button or closing the window.
Both those options set int_flag to true.
Is there any way to show a report and leave with int_flag to false?
I'm using Genero BDL 2.50.16(tested with 3.00.04 too)
The program I used as an example was the following:
main
start report reportFileToScreen to screen
output to report reportFileToScreen("x")
finish report reportFileToScreen
if int_flag then
display "INT_FLAG"
else
display "OK"
end if
end main
report reportFileToScreen(theFile)
define
theFile char(18)
output
left margin 0
top margin 0
bottom margin 0
page length 64
format
on every row
print file theFile
end report