+
Agrupador:
diff --git a/AF/RepAF.aspx.vb b/AF/RepAF.aspx.vb
index fe1f3c9e2..c22268a9c 100644
--- a/AF/RepAF.aspx.vb
+++ b/AF/RepAF.aspx.vb
@@ -38,16 +38,16 @@ Partial Class AF_RepAF
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
- CargaFiltros()
- 'CargaDatos()
-
- If UsuarioActual.Empresa.GralSoloProyecto Then
- DivProyecto.Visible = False
+ CargaFiltros()
+ 'CargaDatos()
+
+ ' If UsuarioActual.Empresa.GralSoloProyecto Then
+ DivProyecto.Visible = False
LblSubProyecto.Text = "Proyecto: "
DdlSubProyecto.DataSource = GlobalDTSubProyectos(-1, CveEmpresa:=UsuarioActual.CveEmpresa)
DdlSubProyecto.DataBind()
- DdlSubProyecto.Items.Insert(0, New ListItem("Todos", "-1"))
- End If
+ DdlSubProyecto.Items.Insert(0, New ListItem("Todos", "-1"))
+ ' End If
End If
End Sub
diff --git a/AF/RepRevision.aspx b/AF/RepRevision.aspx
new file mode 100644
index 000000000..4d9b06b49
--- /dev/null
+++ b/AF/RepRevision.aspx
@@ -0,0 +1,250 @@
+<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepRevision.aspx.vb" Inherits="AF_RepRevision" %>
+
+
+
+
+
+
+
+
+<%--
+
+
+
+ Nuevo Activo Fijo
+
+
+
+ PDF
+
+
+
+ Excel
+
+
+
+
+
+
+
+
+ --%>
+
+
+
+
+ Reporte Revisión
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Tipo:
+
+
SubTipo:
+
+
+
+
Fecha I:
+
+
+
+
+
+
+ <%--
+
--%>
+
+
+
+
+
Fecha F:
+
+
+
+
+
+
+ <%--
+
--%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/AF/RepRevision.aspx.vb b/AF/RepRevision.aspx.vb
new file mode 100644
index 000000000..f96ebab1d
--- /dev/null
+++ b/AF/RepRevision.aspx.vb
@@ -0,0 +1,183 @@
+Option Explicit On
+Option Strict On
+
+Imports System.Data
+Imports Extensiones
+Imports Microsoft.Reporting.WebForms
+
+Partial Class AF_RepRevision
+ Inherits ClsPaginas
+
+#Region " PROPIEDADES"
+
+ Property DT_Cabeceras As DataTable
+ Get
+
+ If ViewState("DT_Cabeceras") Is Nothing Then
+
+ Return New DataTable
+ Else
+ Return DirectCast(ViewState("DT_Cabeceras"), DataTable)
+ End If
+
+ End Get
+ Set(value As DataTable)
+ ViewState("DT_Cabeceras") = value
+ End Set
+ End Property
+
+
+ Property DT_Datos As DataTable
+ Get
+
+ If ViewState("DT_Datos") Is Nothing Then
+ Return New DataTable
+ Else
+ Return DirectCast(ViewState("DT_Datos"), DataTable)
+ End If
+
+ End Get
+ Set(value As DataTable)
+ ViewState("DT_Datos") = value
+ End Set
+ End Property
+
+#End Region
+
+ Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
+ If Not Page.IsPostBack Then
+
+ CargaCombos()
+ CargaDatos()
+
+ Dim FechaActual As Date = Now
+
+
+ TxtFechaF.Text = $"{FechaActual.Day.ToString("00")}/{FechaActual.Month.ToString("00")}/{FechaActual.Year}"
+ FechaActual = FechaActual.AddDays(-30)
+ TxtFechaI.Text = $"{FechaActual.Day.ToString("00")}/{FechaActual.Month.ToString("00")}/{FechaActual.Year}"
+
+ End If
+ End Sub
+
+
+#Region " CARGA PARAMETROS "
+
+#End Region
+
+#Region " CARGA COMBOS "
+ Protected Sub CargaCombos()
+ CargarCentrosDeCosto(Nothing, DdlSubProyecto, Nothing, LblSubProyecto)
+
+ DdlTipoActivo.DataSource = GlobalDTTipoActivoFijo(UsuarioActual.CveEmpresa).FiltraParametros("", "TipoActivoFijo")
+ DdlTipoActivo.DataBind()
+ DdlTipoActivo.Items.Insert(0, New ListItem("Todos", "-1"))
+
+ End Sub
+
+
+#End Region
+
+#Region " CARGA DATOS "
+ Protected Sub BtnFiltrar_Click(sender As Object, e As EventArgs)
+ CargaDatos()
+
+ End Sub
+
+
+#End Region
+
+#Region " GV DATOS "
+
+ Private Sub CargaDatos()
+
+ Dim ObjAF As New ClsAF
+
+ If ObjAF.GetMetricasValores(-1, -1, -1, -1, DdlSubProyecto.SelectedValue.ToEntero, DdlTipoActivo.SelectedValue.ToEntero, DdlSubTipoActivo.SelectedValue.ToEntero, TxtFechaI.Text.ToDate, TxtFechaF.Text.ToDate, UsuarioActual.CveEmpresa) Then
+
+ DT_Cabeceras = ObjAF.DSResultados.Tables(0)
+ DT_Datos = ObjAF.DSResultados.Tables(1)
+
+ 'GvDatos.DataSource = ObjAF.DtResultados
+ Else
+ GvDatos.DataSource = Nothing
+ End If
+
+ ObjAF.Dispose()
+
+ 'GvDatos.DataBind()
+ 'UpDatos.Update()
+
+ If DT_Datos.Rows.Count > 0 Then
+ CargaTablas()
+ End If
+
+
+ End Sub
+
+ Private Sub CargaTablas()
+
+ Dim IDX_LIMPIAR As Integer = 1
+
+ '5
+ For IDX_LIMPIAR = 2 To 16
+ CType(GvDatos.Columns(IDX_LIMPIAR), BoundField).DataField = Nothing
+ CType(GvDatos.Columns(IDX_LIMPIAR), BoundField).HeaderText = ""
+ GvDatos.Columns(IDX_LIMPIAR).Visible = False
+ Next
+
+ Dim x As Integer = 0
+ Dim limite As Integer = DT_Cabeceras.Rows.Count - 1
+
+
+ For x = 0 To limite
+ CType(GvDatos.Columns(x + 2), BoundField).DataField = DT_Datos.Columns(5 + x).ColumnName
+ CType(GvDatos.Columns(x + 2), BoundField).HeaderText = DT_Cabeceras.Rows(x)("Metrica").ToString
+ GvDatos.Columns(x + 2).Visible = True
+ Next x
+
+ GvDatos.DataSource = DT_Datos
+ GvDatos.DataBind()
+
+ UpDatos.Update()
+ 'For IDX_LIMPIAR = 2 To 17
+ 'CType(GvDatos.Columns(IDX_LIMPIAR), BoundField).DataField = Nothing
+ 'CType(GvDatos.Columns(IDX_LIMPIAR), BoundField).HeaderText = DT_Cabeceras.Rows()
+ 'Next
+
+ End Sub
+
+
+ Protected Sub GvDatos_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvDatos.RowDataBound
+
+ If e.Row.RowType = DataControlRowType.DataRow Then
+
+
+
+ End If
+
+ End Sub
+
+#End Region
+
+
+
+
+ Protected Sub LnkEliminarMetricaValor_Click(sender As Object, e As EventArgs)
+
+ End Sub
+
+
+
+ Protected Sub DdlTipoActivo_SelectedIndexChanged(sender As Object, e As EventArgs)
+
+ DdlSubTipoActivo.Items.Clear()
+ DdlSubTipoActivo.DataSource = GlobalDTSubTipoActivoFijo(UsuarioActual.CveEmpresa).FiltraParametros(String.Format("CveTipoActivoFijo = {0}", DdlTipoActivo.SelectedValue), "SubTipoActivoFijo")
+ DdlSubTipoActivo.DataBind()
+ DdlSubTipoActivo.Items.Insert(0, New ListItem("Todos", "-1"))
+
+
+ UpFiltro.Update()
+
+ End Sub
+End Class
diff --git a/App_Code/ClsAF.vb b/App_Code/ClsAF.vb
index 95fa81a74..3b6189bef 100644
--- a/App_Code/ClsAF.vb
+++ b/App_Code/ClsAF.vb
@@ -17,18 +17,28 @@ Public Class ClsAF
Private SqlCommand As SqlCommand
Private SqlTransacc As SqlTransaction
Private Data As DataTable
+ Private DSet As New DataSet
Private disposedValue As Boolean = False ' Para detectar llamadas redundantes
'REGISTRAR CONEXIÓN
Private CveConexion As Integer = 0
- Private EsTransaccionCompartida As Boolean = False
+ Private EsTransaccionCompartida As Boolean = False
+
+ Public CveMetricaValor As Integer = 0
+
#End Region
-
+
#Region "Propiedades"
Public ReadOnly Property DtResultados() As DataTable
Get
DtResultados = Data
End Get
+ End Property
+
+ Public ReadOnly Property DSResultados() As DataSet
+ Get
+ DSResultados = DSet
+ End Get
End Property
Public Property CveActivoFijo As Integer
@@ -3239,9 +3249,10 @@ Public Class ClsAF
End Try
Return Retorno
- End Function
+ End Function
#End Region
#Region "M E T R I C A S"
+
Public Function GetMetricas(CveMetrica As Integer) As Boolean
Dim Retorno As Boolean = False
@@ -3296,11 +3307,35 @@ Public Class ClsAF
OnError("Ocurrió un error al agregar la métrica de Activo Fijo.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
End Try
+ Return Retorno
+ End Function
+
+
+
+ Public Function GetMetricasRegistro(CveSubProyecto As Integer, CveEmpresa As Integer, Fecha As Date) As Boolean
+ Dim Retorno As Boolean = False
+
+ DataAdapter("PA_AF_MetricasRegistroGet")
+
+ With SqlAdapter.SelectCommand.Parameters
+ .Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
+ .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
+ .Add("@Fecha", SqlDbType.Date).Value = Fecha
+ End With
+
+ Try
+ SqlAdapter.Fill(DSet)
+ Retorno = True
+ Catch ex As Exception
+ OnError("Ocurrió un error al obtener los valores de métricas de Activo Fijo.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
+ End Try
+
Return Retorno
End Function
- Public Function GetMetricasValores(Optional CveMetricaValor As Integer = -1, Optional CveAF As Integer = -1, Optional CvePersonal As Integer = -1, Optional CveUsuario As Integer = -1,
- Optional CveSubProyecto As Integer = -1, Optional Fecha As String = "1900-01-01", Optional FechaIng As String = "1900-01-01") As Boolean
+
+ Public Function GetMetricasValores(CveMetricaValor As Integer, CveAF As Integer, CvePersonal As Integer, CveUsuario As Integer, CveSubProyecto As Integer, CveTipoActivoFijo As Integer, CveSubTipoActivoFijo As Integer, FechaI As Date, FechaF As Date,
+ CveEmpresa As Integer) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_AF_MetricasValoresGet")
@@ -3311,12 +3346,15 @@ Public Class ClsAF
.Add("@CvePersonal", SqlDbType.Int).Value = CvePersonal
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
- .Add("@Fecha", SqlDbType.DateTime).Value = Fecha
- .Add("@FechaIng", SqlDbType.DateTime).Value = FechaIng
+ .Add("@CveTipoActivoFijo", SqlDbType.Int).Value = CveTipoActivoFijo
+ .Add("@CveSubTipoActivoFijo", SqlDbType.Int).Value = CveSubTipoActivoFijo
+ .Add("@FechaI", SqlDbType.Date).Value = FechaI
+ .Add("@FechaF", SqlDbType.Date).Value = FechaF
+ .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
End With
Try
- SqlAdapter.Fill(Data)
+ SqlAdapter.Fill(DSet)
Retorno = True
Catch ex As Exception
OnError("Ocurrió un error al obtener los valores de métricas de Activo Fijo.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
@@ -3325,9 +3363,9 @@ Public Class ClsAF
Return Retorno
End Function
- Public Function AddMetricasValores(Optional CveAF As Integer = -1, Optional CvePersonal As Integer = -1, Optional CveUsuario As Integer = -1,
- Optional CveSubProyecto As Integer = -1, Optional Fecha As String = "1900-01-01", Optional FechaIng As String = "1900-01-01") As Boolean
+ Public Function AddMetricasValores(CveAF As Integer, CvePersonal As Integer, CveUsuario As Integer, CveSubProyecto As Integer, Fecha As Date, CveEmpresa As Integer) As Boolean
Dim Retorno As Boolean = False
+ CveMetricaValor = -1
DataAdapter("PA_AF_MetricasValoresAdd")
@@ -3336,12 +3374,16 @@ Public Class ClsAF
.Add("@CvePersonal", SqlDbType.Int).Value = CvePersonal
.Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
.Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
- .Add("@Fecha", SqlDbType.DateTime).Value = Fecha
- .Add("@FechaIng", SqlDbType.DateTime).Value = FechaIng
+ .Add("@Fecha", SqlDbType.Date).Value = Fecha
+ .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
+ .Add("@CveMetricaValor", SqlDbType.Int).Direction = ParameterDirection.Output
+
+
End With
Try
SqlAdapter.Fill(Data)
+ CveMetricaValor = SqlAdapter.SelectCommand.Parameters("@CveMetricaValor").Value.ToString.ToEntero
Retorno = True
Catch ex As Exception
OnError("Ocurrió un error al agregar el valor de métrica de Activo Fijo.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
@@ -3370,7 +3412,7 @@ Public Class ClsAF
Return Retorno
End Function
- Public Function GetMetricasValoresDetalle(Optional CveMetricaValor As Integer = -1, Optional CveMetrica As Integer = -1) As Boolean
+ Public Function GetMetricasValoresDetalle(CveEmpresa As Integer, Optional CveMetricaValor As Integer = -1, Optional CveMetrica As Integer = -1) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_AF_MetricasValoresDetalleGet")
@@ -3378,6 +3420,7 @@ Public Class ClsAF
With SqlAdapter.SelectCommand.Parameters
.Add("@CveMetricaValor", SqlDbType.Int).Value = CveMetricaValor
.Add("@CveMetrica", SqlDbType.Int).Value = CveMetrica
+ .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
End With
Try
@@ -3398,7 +3441,7 @@ Public Class ClsAF
With SqlAdapter.SelectCommand.Parameters
.Add("@CveMetricaValor", SqlDbType.Int).Value = CveMetricaValor
.Add("@CveMetrica", SqlDbType.Int).Value = CveMetrica
- .Add("@Valor", SqlDbType.NVarChar).Value = Valor
+ .Add("@Valor", SqlDbType.VarChar).Value = Valor
End With
Try
@@ -3419,7 +3462,7 @@ Public Class ClsAF
With SqlAdapter.SelectCommand.Parameters
.Add("@CveMetricaValor", SqlDbType.Int).Value = CveMetricaValor
.Add("@CveMetrica", SqlDbType.Int).Value = CveMetrica
- .Add("@Valor", SqlDbType.NVarChar).Value = Valor
+ .Add("@Valor", SqlDbType.VarChar).Value = Valor
End With
Try
diff --git a/App_Code/ClsPaginas.vb b/App_Code/ClsPaginas.vb
index 68a9d44e3..bf5a7dea3 100644
--- a/App_Code/ClsPaginas.vb
+++ b/App_Code/ClsPaginas.vb
@@ -3951,6 +3951,7 @@ Public Class ClsPaginas
PaginaDict.Add("/AF/RepDepreciacion.aspx".ToUpper(), -1)
PaginaDict.Add("/AF/RepEventosProgramados.aspx".ToUpper(), 656)
PaginaDict.Add("/AF/RegistroRevision.aspx".ToUpper(), 1251)
+ PaginaDict.Add("/AF/RepRevision.aspx".ToUpper(), 1252)
#End Region
'AIMMGM
#Region "AIMMGM"
diff --git a/App_Code/ClsRH.vb b/App_Code/ClsRH.vb
index eeee4c853..3ac5ef12b 100644
--- a/App_Code/ClsRH.vb
+++ b/App_Code/ClsRH.vb
@@ -4157,12 +4157,22 @@ chkAplicaVacacion As Boolean, chkAplicaIncapacidad As Boolean, chkAplicaRetardo
Try
SqlAdapter.Fill(Data)
Retorno = True
- Catch exs As SqlException
- If exs.ErrorCode = -2146232060 Then
+ Catch exs As SqlException
+
+
+ If exs.Message.Contains("Número: 547;") Then
OnError("Ocurrió al Eliminar el Tema Existen registros relacionadados.", exs, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
Else
OnError("Ocurrió al Eliminar el Tema TemasRemove.", exs, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
- End If
+ End If
+
+
+ 'If exs.ErrorCode = -2146232060 Then
+ ' OnError("Ocurrió al Eliminar el Tema Existen registros relacionadados.", exs, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
+ 'Else
+ ' OnError("Ocurrió al Eliminar el Tema TemasRemove.", exs, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
+ 'End If
+
Catch ex As Exception
OnError("Ocurrió al Eliminar el Tema TemasRemove.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
End Try
@@ -6859,25 +6869,26 @@ chkAplicaVacacion As Boolean, chkAplicaIncapacidad As Boolean, chkAplicaRetardo
OnError("Ocurrió un error al obtener los pagos de factura de personal.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
End Try
Return Retorno
- End Function
-
+ End Function
+
#End Region
-
-
- Public msgsError As New StringBuilder()
- Public Sub OnError(Mensaje As String, Exeption As Exception, Optional InfoAdicional As String = "")
- GuardaLog(String.Format("{0} DESCRIPCIÓN DETALLADA: {1} {2} {3}", Mensaje, Exeption.ToString, vbCrLf, InfoAdicional))
- msgsError.AppendLine(Mensaje)
- msgsError.Append("
")
- 'Alert(Obj, Mensaje, TipoMensaje.MsgError)
- 'If WebConfigurationManager.AppSettings("SiteName") IsNot Nothing AndAlso WebConfigurationManager.AppSettings("SiteName").ToString = "1" Then MandaCorreoError(String.Format("{0} DESCRIPCIÓN DETALLADA: {1} {2} {3}", Mensaje, Exeption.ToString, vbCrLf, InfoAdicional))
- End Sub
+
+
+ 'Public msgsError As New StringBuilder()
+ 'Public Sub OnError(Mensaje As String, Exeption As Exception, Optional InfoAdicional As String = "")
+ ' GuardaLog(String.Format("{0} DESCRIPCIÓN DETALLADA: {1} {2} {3}", Mensaje, Exeption.ToString, vbCrLf, InfoAdicional))
+ ' msgsError.AppendLine(Mensaje)
+ ' msgsError.Append("
")
+ ' 'Alert(Obj, Mensaje, TipoMensaje.MsgError)
+ ' 'If WebConfigurationManager.AppSettings("SiteName") IsNot Nothing AndAlso WebConfigurationManager.AppSettings("SiteName").ToString = "1" Then MandaCorreoError(String.Format("{0} DESCRIPCIÓN DETALLADA: {1} {2} {3}", Mensaje, Exeption.ToString, vbCrLf, InfoAdicional))
+ 'End Sub
+
#Region " IDisposable Support "
- ' IDisposable
+ ' IDisposable
Protected Overridable Sub Dispose(ByVal disposing As Boolean)
- If msgsError.ToString().Length > 0 Then
- Alert(msgsError.ToString(), TipoMensaje.MsgError)
- End If
+ 'If msgsError.ToString().Length > 0 Then
+ ' Alert(msgsError.ToString(), TipoMensaje.MsgError)
+ 'End If
If Not disposedValue Then
If disposing Then
' TODO: Liberar otro estado (objetos administrados).
diff --git a/Contabilidad2/RepEstadoResultadosHorizontal.aspx.vb b/Contabilidad2/RepEstadoResultadosHorizontal.aspx.vb
index 28d168f57..58c7fb895 100644
--- a/Contabilidad2/RepEstadoResultadosHorizontal.aspx.vb
+++ b/Contabilidad2/RepEstadoResultadosHorizontal.aspx.vb
@@ -240,20 +240,12 @@ Partial Class Contabilidad_RepEstadoResultadosHorizontal
TotalActualMes = 0
TotalAnteriorMes = 0
- 'TotalActualMes = 0
- 'TotalAnteriorMes = 0
-
- 'TxtFechaInicio.Text = DateSerial(Year(Date.Now), 1, 1).ToShortDateString
- 'TxtFechaFin.Text = Date.Now.ToShortDateString
CargaEjercicios()
CargarCentrosDeCosto(Nothing, DdlSubproyecto, Nothing, LblSubProyecto)
TabSubProyecto.HeaderText = LblSubProyecto.Text & " H."
- 'DdlSubproyecto.DataSource = GlobalDTSubProyectosUsuarios(UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa)
- 'DdlSubproyecto.DataBind()
- ' CargaDatos()
DdlEjercicio.SelectedValueExist(UsuarioActual.Empresa.EjercicioActual)
ValidaEjercicios()
diff --git a/RH/CatCursosTemas.aspx.vb b/RH/CatCursosTemas.aspx.vb
index 76b5f1b13..75996ce7d 100644
--- a/RH/CatCursosTemas.aspx.vb
+++ b/RH/CatCursosTemas.aspx.vb
@@ -101,9 +101,8 @@ Partial Class RH_CatCursosTemas
If objRH.TemasRemove(CveTema) Then
CargadatosGvTemas()
LoadComboTemas()
- Alert("Tema elimino correctamente ", TipoMensaje.MsgInformacion)
- Else
- Alert("Ocurrio un error al eliminar el tema", TipoMensaje.MsgError)
+ Alert("Tema elimino correctamente ", TipoMensaje.MsgInformacion)
+
End If
End Sub
@@ -179,9 +178,8 @@ Partial Class RH_CatCursosTemas
If objRH.SubtemaRemove(CveTema) Then
CargadatosGvTemas()
- Alert("Subtema Elimino Correctamente.", TipoMensaje.MsgInformacion)
- Else
- Alert("Ocurrio un error al Eliminar el Subtema.", TipoMensaje.MsgError)
+ Alert("Subtema Elimino Correctamente.", TipoMensaje.MsgInformacion)
+
End If
LoadComboTemas()
CargadatosGvSubtemas()