![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
![]() |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
|
|
#1
|
|||
|
|||
|
Bueno, el norte ya te lo ha dado Román
Cita:
Tienes 2 variables Campos : Array of string; Orden : Array of TSortMarker; La primera tiene el nombre de los campos y la segunda el tipo de ordenación (smDown, smUp, smNone) Sólo has de ir recorriendo el Array Campos e ir mirndo el tipo de ordenación en Orden para, o bien montar el SQL o bien montar el IndexFieldNames del Table |
|
#2
|
|||
|
|||
|
No Entiendo, Hermano Agradezco Tu Cooperacion..pero La Verdad No Entiendo!.
|
|
#3
|
|||
|
|||
|
Cita:
rocedure TTIPO_SERVICIO_FRM.DefineOrden(str :string); var i : integer; M : TSortMarker; begin i := 0; // DM1.TIPOS_SERVICIOS.IndexName := 'ID_TIPO_SERVICIO'; while str <> Campos[i] do inc(i); case orden[i] of smNone : M := smDown; smDown : M := smUp; smUp : M := smNone; else M := smNone; end; orden[i] := M; end; DONDE LE CAMBIO DE INDICES? |
|
#4
|
|||
|
|||
|
Ya Ordene Mis Pensamientos, Ya Entendi...todo...gracias
|
![]() |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|