From d06af6b35f8b906e950f81c6545f6e71518db75d Mon Sep 17 00:00:00 2001 From: rrene Date: Wed, 17 Nov 2021 20:42:39 -0700 Subject: [PATCH] trim --- General/SaldosIniciales.aspx.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/General/SaldosIniciales.aspx.vb b/General/SaldosIniciales.aspx.vb index bff609215..109929692 100644 --- a/General/SaldosIniciales.aspx.vb +++ b/General/SaldosIniciales.aspx.vb @@ -1726,7 +1726,7 @@ Partial Class General_SaldosIniciales Exit For End If - Dim SubP As String = Row("SubProyecto").ToString + Dim SubP As String = Row("SubProyecto").ToString.Trim If SubP <> "" OrElse SubP <> "-" Then DataTemp = SubProTemp.FiltraParametros(String.Format("SubProyecto = '{0}'", SubP)) CveSubProyecto = DataTemp.FiltroPrimeroValor("CveSubProyecto", "").ToEntero @@ -1771,6 +1771,7 @@ Partial Class General_SaldosIniciales Catch ex As Exception + Alert(ex.Message) ObjConta.RollBack() End Try