Page 1 of 1

Logic to Call other PEN

Posted: March 24th, 2017, 12:02 am
by yanina
Dear Master

Need help pls

I have 2 application.
1. program1.pen and program2.pen

can I set the logic on program1.pen to call program2.pen ?
if data entry process finish on program1.pen then data entry will automatically call program2.pen

my description as screen attached.

thank you very much

Yanin

Re: Logic to Call other PEN

Posted: March 24th, 2017, 7:12 am
by josh
Yes, you can use the function execpff. Look in the help for details.

Re: Logic to Call other PEN

Posted: March 24th, 2017, 9:13 am
by yanina
Josh, thank you very much for your quick respond. Very appreciate

Yanin

Re: Logic to Call other PEN

Posted: March 26th, 2017, 3:54 pm
by MrTaco
Dear Josh

can it be possible to you use function execpff and call number of persons from the household,
or must i use loadcase?

Thanks in advance

Re: Logic to Call other PEN

Posted: March 26th, 2017, 7:22 pm
by josh
execpff launches another CSPro application. It does not return anything from the other application. To read a value from a data file from another application you would use loadcase.