Ver Mensaje Individual
  #2  
Antiguo 07-06-2006
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - Espańa
Posts: 18.285
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Extraído de la documentación:

5.4 How can I sort the display of the records differently?
You need to add an index that sorts the records in the order you want.
This is done using:
Dbf1. AddIndex('INDEX1 ', 'DTOS( FIELD1 ) ', []);
Dbf1. IndexName := 'INDEX1 ';

where INDEX1 is the name of the index you created using AddIndex.
The index can be deselected by selecting the empty name index:
Dbf1. IndexName := '';
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita