learner
20th September 2004, 13:14
Hello,
Recently a newbie in BaaN asked me what are the minimum no. of components that are required to create a session ?? and which are those components ? and I could think of only 2 components that is TABLE and FORM ... but i believe a session can be created without using form ...
any comments to the above question ???
Regards
Learner
SriksAdi
20th September 2004, 14:35
Hi,
I believe the minimum number of components is 1, Program Script.
I have created a 3 GL program and attached the same to a Session without a Main Table and Forms :)
It basically depends on the requirement. In case you need to maintain records in a table, you need a Form and a Main Table. In case it's a process session, you can use a 3 GL object and attach to the Session, no form or table is required in the session.
regards
Sriks
learner
20th September 2004, 14:51
Hi,
Could u provide me hint to create a 3GL program. how should i move ahead.
Regards
Learner
SriksAdi
20th September 2004, 15:07
Hi,
I had this 3 GL program of RUSH which I have attached to a session, without forms and table.
To create 3 GL program, Create a Program script in session ttadv2130m000 with Script Type 3GL (Without Stnd. Prgr.)
A 3GL Program looks something like this :
function main()
{
long ret
long count
message(str$(ret))
}
learner
20th September 2004, 15:16
hi,
Thanks for the same.
Regards
Learner
monica1
20th September 2004, 18:13
And how can you execute this program?
NPRao
20th September 2004, 20:08
If you have Worktop you can use the session bar. If you use BW you can use the File -> Run Program.
You have to append the 3-GL programs by opackage-module-script code