benito
20th June 2002, 22:06
I would like to convert my correction program otfcor0260 for Finance to standard Baan session with form so my user can use it.

Currently I run it through ttdsk2080m000 - Run Program command but normal users are not allowed to use this so I'm thinking of converting it to standard Baan session with form. Anybody has done this? How do I find out the variables? Appreciate your input. Thanks.

BaanIVc2,NT,SQL7

alejandro
20th June 2002, 22:58
You only have to create a new session, with no form


Example:

Session tfcor0260m999 (Or any you want)
Standard Script: No
Program Script :tfcor0260999 (Or any you want)
Main Table: Empty
Main session : checked

This script will be 3GL (Without Stnd.Prgr.)

Will read so:

function Main()
{
wait.and.activate("otfcor0260")
end()
}



Attach this new session to user“s menu and that is all.

P.D. Test it before, please. For me it works with many 3GL scripts.

benito
21st June 2002, 23:13
gracias alejandro.

that worked.

NPRao
22nd June 2002, 00:49
You can directly attach the 3-GL program to a session, instead of creating another script and calling the 3-GL.

so when you start the session, the 3-GL is executed.