Hi, I have used this command before successfully, but am having trouble with this scenario:
Report whinh341511000 (standard report with modified script)
the question is asked within the report script here...
if ask.enum("whinhc001", tcyesno.yes) = tcyesno.yes then
I handle this by using:
stpapi.set.report("whinh3415m000", "rwhinh341511000", spool.device, error)
stpapi.enum.answer("whinh3415m000", "whinhc001", tcyesno.no)
but the question still pops up. If I click 'No' then everything continues as I want. Is there something I am missing here?
I can't make a copy of the report with the question removed as this would add another popup (select report) to normal Baan users. I suppose I could use api.mode in the report script (assuming that would work), but the script is someone else's work and I am not keen to alter it.
Any suggestions greatfully received - thanks