skgupta
24th December 2008, 11:15
Dear

I have a customize table with four fields.

1. Warehouse 2. Item code 3. Value 4. abc

We want to update abc field with descending order of Value field

I made a index on value and item

What command for that. Syntax is as below

select tdkci088.*
from tdkci088 for update
order by tdkci088._index3
selectdo
update.abc.record()
endselect

ks_ks_
24th December 2008, 14:22
you can use the keyword desc for sorting the table in descending order.

skgupta
25th December 2008, 04:59
Dear KS

thanks