FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
||||
|
||||
Problema con Ordenamiento en RxMemoryData
Uso los Componentes RX y el que tengo problemas es con el RxMemoryData, este le almaceno datos, pero no encuentro la forma de darle un ordenamiento por cierto campo, cuando creo la estructura pongo como llave primaria el siguiente campo:
Lo que pasa es que cuando ya despliego los datos en QReport, me encuentro que 2 ó más registros estan mal ordenados. Alguien sabe de un Query que se use en memoria (Sin usar Dbf's ó alguna tabla de firebird)como este componente???? Agradezco cualquier sugerencia. |
#2
|
||||
|
||||
Cita:
// Saludos |
#3
|
||||
|
||||
Ejemplo
Pongo el siguienre listado:
FECHA D1 D2 D3 D1 D2 D3 D1 D2 D3 D1 D2 D3 D1 D2 D3 D1 D2 D3 D1 D2 D3 TOTALES 01/02/2005 25,008.45 32,353.31 186,038.37 15,864.48 31,737.42 23,061.47 1,380.36 362.44 27,942.95 35.89 16,419.98 171,989.73 02/02/2005 34,332.46 1,051.35 54,418.70 114,966.28 130.46 13,088.57 29,754.12 303.20 26,371.45 810.77 21,117.34 3,535.05 12,851.06 186,102.87 03/02/2005 37,457.09 40.00 98,227.19 87,053.37 130.28 11,457.15 16,518.81 24,169.97 7,230.87 22,024.48 68.54 10,833.32 213,218.32 04/02/2005 29,443.05 2,320.27 66,569.70 342,618.44 4,067.75 14,850.12 23,297.92 27,174.29 2,659.00 29,441.25 127.58 13,587.67 287.76 197,560.64 07/02/2005 31,961.26 48.85 41,931.04 399,280.83 6,399.41 19,344.31 2,475.34 20,002.95 163.10 19,082.61 5,170.47 17.43 21,753.48 771.68 13,832.21 158,032.05 08/02/2005 29,106.18 592.48 50,373.53 173,703.41 3,537.97 14,867.54 203.46 18,594.46 16,957.03 8,323.31 2,609.32 21,957.76 561.84 11,377.81 312.47 155,416.77 09/02/2005 26,620.16 291.50 46,502.04 223,126.37 537.72 13,766.69 24,890.93 23,639.08 2,561.53 94.14 22,021.65 308.28 21,765.56 178.70 177,795.77 10/02/2005 35,517.27 184.22 74,674.23 223,936.18 265.63 17,056.57 24,279.64 17,789.24 923.69 511.29 27,377.94 40.52 15,396.65 224.74 210,865.14 11/02/2005 28,002.53 85.00 838.05 66,627.36 242,506.27 2,685.75 17,593.61 13,901.18 26,470.89 5,251.58 1,226.94 21,797.87 133.15 23,977.15 193.87 193,292.83 12/02/2005 26,559.48 4,334.10 31,034.64 145,635.06 2,219.18 12,112.07 13,256.79 6,155.94 7,422.92 12,658.32 9,650.15 104,874.11 14/02/2005 26,120.33 6,691.72 53,879.81 127,534.99 325.08 17,712.65 15,843.84 26,011.83 628.94 33,776.58 251.25 7,736.55 173,813.54 15/02/2005 46,135.41 50,988.88 379,550.71 15,790.71 172.75 34,170.01 19,816.54 11,866.81 96.30 25,984.71 3,872.76 18,461.52 689.50 206,516.47 16/02/2005 45,564.23 119.51 32,132.50 146,862.17 9,030.33 12,969.81 26,717.20 23,796.53 5,242.69 761.75 23,069.22 1,580.33 15,717.15 168,474.72 17/02/2005 30,227.60 20.29 55,687.43 173,608.92 10,832.61 13,054.55 20,679.31 29,395.67 9,899.21 164.36 17,972.05 222.87 10,301.68 361.72 165,716.44 18/02/2005 55,438.04 69,089.69 184,390.75 13,130.49 29,866.95 20,911.76 15.36 115.30 34,624.88 2,180.72 23,093.59 243,859.38 19/02/2005 23,920.14 1,605.85 42,442.99 165,160.50 58.16 12,681.83 16,213.40 12,851.31 4,144.36 114.18 10,529.20 9,434.63 1,250.16 125,045.15 21/02/2005 40,463.42 63,143.37 202,545.36 2,081.62 16,104.66 21,686.62 32,508.66 40,241.59 263.87 23,343.35 723.64 19,930.61 717.08 213,394.48 22/02/2005 23,338.38 41,047.55 127,060.94 19.39 16,363.77 29,028.15 29,270.74 27,472.32 379.24 31,519.91 1,237.77 24,536.41 193,468.51 23/02/2005 32,686.49 5,657.16 39,363.36 294,691.24 1,025.14 20,411.26 14,456.42 23,146.45 6,610.13 21.14 31,871.62 334.60 23,133.09 178,030.65 24/02/2005 31,089.10 346.75 60,046.15 394,146.56 147.13 10,896.40 241.40 26,255.52 26,014.85 224.02 23,760.77 774.70 24,806.92 1,772.02 199,587.71 25/02/2005 28,172.90 42,250.88 283,884.92 23.80 8,671.31 28,104.61 28,519.93 12,182.63 20,172.33 202.64 14,965.03 170,630.55 26/02/2005 27,592.51 784.39 26,240.05 83,689.80 227.62 13,100.94 16,879.82 23,553.14 86.00 378.31 17,512.16 13.94 13,964.97 1,734.79 135,704.54 28/02/2005 43,917.81 795.08 34,553.39 376,763.53 12,750.53 51.93 18,852.23 16,151.30 8,766.15 1,378.23 26,168.35 2,396.48 15,710.48 343.86 163,138.51 05/02/2005 141.47 20/02/2005 1,863.90 Si se alcanza a preciar los 2 últimos Registros estan al final en vez de estar ordenados por la fecha. Adjunto archivo en word, alli se aprecia mejor. Última edición por AGAG4 fecha: 27-11-2008 a las 02:26:16. |
|
|
|