Print a Report

Klaus Major klaus at major-k.de
Mon Nov 17 15:04:57 EST 2003


Hi Thomas J McGrath III,

> Throughout REV I have seen negative results with cancel buttons,
> I don't know why.
> Tom
>
> On Nov 17, 2003, at 12:19 PM, R. Hillen wrote:
>
>> Hello list,
>> with the help of the report-builder I made a report.
>> Now I want to print it by a handler.
>> I tried:
>>
>> on mouseup
>>   open stack "MyReport"
>>   hide stack "MyReport"
>>   answer printer

## if it is cancel then exit to top -- Cancel doesn´t work, why?
## sometimes it is a better idea to check the result...

if the result = "cancel" then exit to top

## Try this, might help ;-)

>>   send "RevPrintReport" to stack "MyReport"
>> end mouseup

>> Sometimes I get a printout, sometimes not.
>> So I need your help: What is wrong?
>> Thanx
>>
>> Richard Hillen

Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the Use-livecode mailing list