>My data (Cursor) e.g
> No. Date Name Qty
> 1. 01/02/2000 ABC 12
> 2. 02/02/2000 NHG 13
> 3. 04/05/2000 JDHDJ 14
> 4. 06/05/2000 DAAF 15
>
>
>I want this data displayed in grid in descending order. the data will be eg.
>
> No. Date Name Qty
> 4. 06/05/2000 DAAF 15
> 3. 04/05/2000 JDHDJ 14
> 2. 02/02/2000 NHG 13
> 1. 01/02/2000 ABC 12
>
>So When I append data into the grid, I want the data displayed on the top.
>Is that possible to do so? I am using VFP5.0a, coding Will be Appreciated.
>Thanks. Sorry for my english.
Carmen,
IOW you want last entered dispalyed first ? If so create an index on recno() :
index on recno() tag recorder
Then just set the order desc :
set order to tag recorder descending
Cetin