Hi all, I made a grid with this sql statement:
SELECT
Beneficiarios.Codigo,
Beneficiarios.Nombre,
mov_Ingreso.Nro_Internacion,
mov_Ingreso.Cod_Beneficiario,
mov_Ingreso.Cod_Tipo_Ingreso,
mov_Ingreso.Fecha_Ingreso,
movimientos.Nro_Internacion,
movimientos.Fecha,
movimientos.Tipo_Movimiento,
movimientos.Cod_Institucion,
movimientos.Estado,
movimientos.Cod_Tipo_Pase,
movimientos.Cod_Sede,
movimientos.Tiempo_Prorroga
FROM
dbo.Movimientos_Beneficiarios mov_Ingreso INNER JOIN dbo.Benefi Beneficiarios ON mov_Ingreso.Cod_Beneficiario = Beneficiarios.Codigo
INNER JOIN dbo.Movimientos_Beneficiarios_1 movimientos ON mov_Ingreso.Nro_Internacion = movimientos.Nro_Internacion
WHERE mov_Ingreso.Cod_Beneficiario = '[Codigo]'
All works fine, but the date shows like a text “1994-10-13T00:00:00Z”. No matter if I change the type of field to date, date and time or text allways show the same.
Of course the field in database is the type datetime, so, that’s no the problem.
I try to made a grid just with the table, not with the sql statement and in this case the date shows correctly.
Any ideas??
Thanks in advance,
Marcelo