billydeng
4th November 2008, 05:03
Hi Guys
I want to return a field value from a select query inside a function then I can use this function as a single value but I am not sure wether this works or not
is this going to work? if it is not,is there any other way to do that. Thanks
Function read.delivery.date()
{
if tisfc920.ccom = tcyesno.yes then
select tisfc001.*
from tdsls001
where tdsls001._index1 = tisfc920._index1
selectdo
return (tisfc001.dldt)
endselect
endif
commit.transaction()
}
I want to return a field value from a select query inside a function then I can use this function as a single value but I am not sure wether this works or not
is this going to work? if it is not,is there any other way to do that. Thanks
Function read.delivery.date()
{
if tisfc920.ccom = tcyesno.yes then
select tisfc001.*
from tdsls001
where tdsls001._index1 = tisfc920._index1
selectdo
return (tisfc001.dldt)
endselect
endif
commit.transaction()
}