Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/11/2009, 06:45
Giufantasy
 
Fecha de Ingreso: octubre-2009
Mensajes: 63
Antigüedad: 15 años, 4 meses
Puntos: 0
Respuesta: Perdida de dato en TextBox

EPeredo gracias por tu tiempo...

Mira se cae cuando aprieto el boton buscar para ir a buscar los datos al tercer formulario. Le hago click al boton se abre el tercer formulario y al volver ya no esta el rut...

Este es el codigo del boton...

If (Me.CBEstadoPerfilEspecial.Text.Length) = 0 Then
MessageBox.Show("Debe ingresar los datos que faltan (Estado)")
Else
Dim pantallaBuscarSistema As New FrmCargaGrillaEmpresa
pantallaBuscarSistema.Visible = False

pantallaBuscarSistema.Visible = True
pantallaBuscarSistema.Show()

If (Me.TxtRutAsignacion.Text.Length) = 0 Then
MessageBox.Show("Debe ingresar los datos que faltan (Rut usuario).", "Error.", MessageBoxButtons.OK, MessageBoxIcon.Error)
Else
pantallaBuscarSistema.Visible = False

pantallaBuscarSistema.Visible = True
pantallaBuscarSistema.Show()
End If

If (Me.TxtDigAsignacion.Text.Length) = 0 Then
MessageBox.Show("Debe ingresar los datos que faltan (Digito Verificador del rut usuario).", "Error.", MessageBoxButtons.OK, MessageBoxIcon.Error)
Else
pantallaBuscarSistema.Visible = False

pantallaBuscarSistema.Visible = True
pantallaBuscarSistema.Show()
End If
End If