greasedman
10th May 2005, 18:42
Look at this (sort of code by tisfc0207s000):


choice.cont.process:
on.choice:
execute(print.data)

choice.print.data:
on.choice:
message("hello")
after.choice:
message("damn")


Running in normal mode it works correctly, but in API mode it jumps directly from cont.process:on.choice to print.data:after.choice!!!!
Why the hell it works in this way??!?

mark_h
10th May 2005, 19:45
Have you checked to make sure that the correct report and spool.device are set for calling the report? Can you use tisfc0207m000 instead of tisfc0207s000? Maybe if you post you code someone may see something about it that might cause this problem.

greasedman
10th May 2005, 21:16
Thanks for your hint, it was useful, so I got the problem finally: the variable spool.report must be empty in order to execute succesfully print.data. ;)

My one was still filled with reportname of GRANDfather session! :confused: