Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/09/2009, 10:42
Avatar de culd
culd
 
Fecha de Ingreso: noviembre-2003
Mensajes: 959
Antigüedad: 21 años, 6 meses
Puntos: 19
Mensaje Respuesta: Problema con operadores logicos AND, OR

Es mas facil que crees una matris de textbox osea:
a(0).text
a(1).text

Usas un for y recorres todo y haces algo asi

Código vb:
Ver original
  1. Dim Fallo As Boolean
  2. For X = 0 to ELULTIMOTEXTBOX
  3.      If a(x) <> "F" AND a(x) <> "V" Then
  4.           Fallo = True
  5.      End If
  6. Next X
  7.  
  8. If Fallo = False Then
  9.      Call Order
  10. End If