veyant
29th May 2003, 12:25
hi,
Can anybody help me. i have to fetch matching record from table tfgld005 and have to store startdate in one variable. on same time i have to store next date in net variable also. i am not able to do that becuase i can't fetch two records at a time.
my code is
function compute.month()
{
select tfgld005.* from tfgld005
where tfgld005.year = :year
selectdo
fromdate = tfgld005.stdt
| enddate = ?????
endselect
}
actually i have to fetch enddate value as next record (date) to the current record matched.
it is very urgent as i am stuck here from last two dates and everything is stuck due to not available enddate value.
Sandeep Makan
Can some body help me
Can anybody help me. i have to fetch matching record from table tfgld005 and have to store startdate in one variable. on same time i have to store next date in net variable also. i am not able to do that becuase i can't fetch two records at a time.
my code is
function compute.month()
{
select tfgld005.* from tfgld005
where tfgld005.year = :year
selectdo
fromdate = tfgld005.stdt
| enddate = ?????
endselect
}
actually i have to fetch enddate value as next record (date) to the current record matched.
it is very urgent as i am stuck here from last two dates and everything is stuck due to not available enddate value.
Sandeep Makan
Can some body help me