Kristy H
5th October 2004, 00:29
Is start.session available in IVc or should I use activate session. I'm trying to start a session from a session and pass the variables to the called session. I get an error about unresolved reference to function start.session.

Thanks,
Kristy

NPRao
5th October 2004, 03:02
Kristy,

The function start.session() is valid from BaaN-V onwards, thats why you got the compilation errors.

You can use activate(), wait.and.activate() or act.and.sleep() based on your requirement.

Also refer to the thead - Problem with "wait.and.activate" (http://www.baanboard.com/baanboard/showthread.php?t=9536&highlight=main)

JaapJD
5th October 2004, 14:31
The equivalent of start.session in BaanIV is zoom.to$.

Kristy H
5th October 2004, 16:26
With wait.and.activate it looks like I have to modify the program being called. I do not want to make changes to the called program, but I want to pass variables to it to populate the fields on the form. I've seen this done, but I don't know how to do it. Any suggestions?

Thanks,
Kristy

NPRao
5th October 2004, 18:40
Kristy,

I think you are looking for the AFS functionality.

This is another section on the board -

AFS/DDC/OLE: Function servers (http://www.baanboard.com/baanboard/forumdisplay.php?f=59)

Kristy H
5th October 2004, 20:58
Thank you for the help. I appreciate it.

Thanks,
Kristy