joepte
9th May 2012, 22:40
Hi - I would like to have the item code in a question much like this standard question:
" Units of Item %s and Item %s do not match, continue?"
when I did this for my custom question I got a missing arguement error.
where do I specify that the %s or %d is the tisfc999.item?
Do I put it in the question or the script? or?
Thanks

my code is:
choice.cont.process:
after.choice:
if ask.enum("tisfc999.01", tcyesno.yes) = tcyesno.yes then
insert.new.line()
endif

rahul.kolhe22
10th May 2012, 08:27
Hi,

Refer the programmers guide for the function usage.Link (http://www.baanboard.com/programmers_manual_baanerp_help_functions_enumerates_ask_enum) for the same

In your case you can add the arguments as below

ask.enum("tisfc999.01", tcyesno.yes, <arg1>, <arg2>, ...)

Kind Regards,
Rahul