BaanDeveloper
8th October 2012, 20:06
How do you run a 3GL script in version 5 (ERP)
JaapJD
9th October 2012, 08:48
Run Program and then specify the script preceded by an "o".
BaanDeveloper
9th October 2012, 16:06
I tried running from the run command window with the "o" preceding as in "oaabbbXXXXcXXX" but still get the error message "Can not run as a main program". Are there security settings for the user which can prevent users from running 3GL programs?
JaapJD
9th October 2012, 16:43
You need a function main() in it. That is the entry point.
BaanDeveloper
9th October 2012, 18:54
Thank you sir! And the thing is - i knew that - but for some reason I did not notice the script generator gave me a script with one function called some_function(). I totally forgot to rename it "main()". But your answer fixed the problem. Thank you again.