Page 1 of 1

writecase in new version

Posted: April 28th, 2023, 6:30 am
by pelin
Hi,

In the older versions the writecase function can be written like this as you already know:

writecase(OTHERS,OTHID,OTHQUES,OTHOCC);

In the newest version that gives error: The writecase variable list is no longer supported and will be ignored. Cases will be written using the values stored in OTHERS's ID items.

Does this mean that if I write it like this
writecase(OTHERS),
will it work?

Re: writecase in new version

Posted: April 28th, 2023, 8:53 am
by justinlakier
Yes. You can refer to this similar case (viewtopic.php?t=1932) and to the help documentation (https://www.csprousers.org/help/cspro/w ... ction.html). Writecase should take only the dictionary OTHERS.

Hope that helps,
Justin

Re: writecase in new version

Posted: June 8th, 2023, 3:46 am
by pelin
Thank you very much, Justin. I appreciate it. It helped and worked now.