Ver Mensaje Individual
  #1  
Antiguo 21-05-2014
Avatar de Jere_84
Jere_84 Jere_84 is offline
Miembro
NULL
 
Registrado: sep 2011
Ubicación: Córdoba, Argentina
Posts: 214
Reputación: 0
Jere_84 cantidad desconocida en este momento
IndexDef en ADODataSet

Estoy creando un indice persistente en un ADODataSet pero no ordena la información, mi código es el siguiente:

Código Delphi [-]
    ADODataSetInforArtic.IndexDefs.Clear;
    case ComboBoxOrden.AsValue of
      0: begin
           with ADODataSetInforArtic.IndexDefs.AddIndexDef do
           begin
             Name := 'DenomArtic';
             Fields := 'DenomArtic';
             if ComboBoxOrden.Buttons.Image1.Id = 59 then
               Options := [ixDescending];
             ADODataSetInforArtic.IndexName := Name;
           end;
         end;

Que estoy haciendo mal?
Responder Con Cita