mirror of
https://github.com/KeymonSoft/Mariana_Censos.git
synced 2026-04-20 06:09:18 +00:00
- VERSION 5.09.13
- Corrige que no cargaba el municipio en "Cliente", y entonces se quedaba eldato del anterior.
This commit is contained in:
@@ -220,7 +220,13 @@ Sub MapFragment1_Ready
|
||||
' c3 = skmt.ExecQuery($"Select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_SECUENCIA from kmt_info
|
||||
' where CAT_CL_CODIGO Not like 'N%' and CAT_CL_LAT is not null and CAT_CL_LONG is not null
|
||||
' And CAT_CL_LAT <> 0 And CAT_CL_LONG <> 0 and CAT_CL_ESTATUS = 'Activo' and HV_MOTIVO = 'CERRADO_XXXXX'"$)
|
||||
c3 = skmt.ExecQuery($"Select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_SECUENCIA from kmt_info where cat_cl_estatus = 'Inactivo'"$)
|
||||
c3 = skmt.ExecQuery($"Select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_SECUENCIA from kmt_info
|
||||
where cat_cl_estatus = 'Inactivo'
|
||||
and date( -- Para traer la fecha del string
|
||||
substr(cat_cl_fecha_captura, 7, 4) || '-' || -- año
|
||||
substr(cat_cl_fecha_captura, 4, 2) || '-' || -- mes
|
||||
substr(cat_cl_fecha_captura, 1, 2) -- día
|
||||
) >= date('now', '-2 months')"$)
|
||||
Log($"Select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT, CAT_CL_SECUENCIA from kmt_info where CAT_CL_CODIGO Not like 'N%' and CAT_CL_SECUENCIA = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null And CAT_CL_LAT <> 0 And CAT_CL_LONG <> 0 and CAT_CL_ESTATUS <> 'Inactivo'"$)
|
||||
Log($"============== Rojo Resultados = ${c3.RowCount}"$)
|
||||
For i = 0 To c3.RowCount -1
|
||||
|
||||
Reference in New Issue
Block a user