Lakhesis
22nd July 2008, 16:59
Hi,
I'm pretty newbie on this wolrd of baan so, i came here to ask for a script manual or something like that because there's some things that i don't understand.
Besides that,
Recently i had a problem i was doing a script and the compiler gave me this error:
"Fatal Error: FUNCTION within function 'r.s.detail.1.bef.lay' not expected"
Here i put the script that i made.
declaration:
table ttdsls952
table ttdsls953
table ttdilc401
detail.1:
before.layout:
select tdsls952.dino.l
from tdsls952
where :tdsls041.ncor.l = tdsls952.ncor.l
selectdo
select tdsls953.orno.l, tdsls953.pono.l, tdsls953.srnb.l
from tdsls953
where :tdsls952.dino.l = tdsls953.dino.l
selectdo
select tdilc401.clot
from tdilc401
where :tdsls953.orno.l = tdilc401.orno and
:tdsls953.pono.l = tdilc401.pono and
:tdsls953.srnb.l = tdilc401.sera
selectdo
selectempty
endselect
selectempty
endselect
Thanks.
PS: Sorry about my english :D
I'm pretty newbie on this wolrd of baan so, i came here to ask for a script manual or something like that because there's some things that i don't understand.
Besides that,
Recently i had a problem i was doing a script and the compiler gave me this error:
"Fatal Error: FUNCTION within function 'r.s.detail.1.bef.lay' not expected"
Here i put the script that i made.
declaration:
table ttdsls952
table ttdsls953
table ttdilc401
detail.1:
before.layout:
select tdsls952.dino.l
from tdsls952
where :tdsls041.ncor.l = tdsls952.ncor.l
selectdo
select tdsls953.orno.l, tdsls953.pono.l, tdsls953.srnb.l
from tdsls953
where :tdsls952.dino.l = tdsls953.dino.l
selectdo
select tdilc401.clot
from tdilc401
where :tdsls953.orno.l = tdilc401.orno and
:tdsls953.pono.l = tdilc401.pono and
:tdsls953.srnb.l = tdilc401.sera
selectdo
selectempty
endselect
selectempty
endselect
Thanks.
PS: Sorry about my english :D