countnikon
26th June 2007, 17:30
Good morning everybody.
With the code below, I get the following error:
Fatal Error: FUNCTION within function 'when.field.changes.tssma949.nust' not expected
I'm having a problem with the following code:
|****************************** field section **********************************
field.tssma949.nust:
when.field.changes:
get.cat.cls()
|****************************** choice section ********************************
|****************************** function section ********************************
function get.gat.cls()
{
table ttssma950
select *
from tssma950
where tssma950.engt = field.tssma949.engt
and tssma950.frmt = field.tssma949.frmt
and tssma950.nust = field.tssma949.nust
and tssma950.hrpw = field.tssma949.hrpw
selectdo
field.tssma949.pcat = tssma950.pcat
field.tssma949.pcls = tssma950.pcls
endselect
}
Thank you in advance.
With the code below, I get the following error:
Fatal Error: FUNCTION within function 'when.field.changes.tssma949.nust' not expected
I'm having a problem with the following code:
|****************************** field section **********************************
field.tssma949.nust:
when.field.changes:
get.cat.cls()
|****************************** choice section ********************************
|****************************** function section ********************************
function get.gat.cls()
{
table ttssma950
select *
from tssma950
where tssma950.engt = field.tssma949.engt
and tssma950.frmt = field.tssma949.frmt
and tssma950.nust = field.tssma949.nust
and tssma950.hrpw = field.tssma949.hrpw
selectdo
field.tssma949.pcat = tssma950.pcat
field.tssma949.pcls = tssma950.pcls
endselect
}
Thank you in advance.