Advertisement
Guest User

Untitled

a guest
Sep 16th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cod = VAL(thisform.text1.Value)
  2. equ = 1
  3.  
  4. USE jugador
  5. SELECT jugador
  6. IF !EMPTY(cod)
  7.     LOCATE FOR jugadorcod = cod
  8.     IF FOUND()
  9.         thisform.text2.Value = jugadornom
  10.         thisform.text3.Value = jugadorpos
  11.         equ = equipocod
  12.     USE EQUIPO
  13.     SELECT equipo
  14.     LOCATE FOR equipocod = equ
  15.     thisform.combo1.DisplayValue = (equiponom)
  16.         RETURN
  17.     ENDIF
  18. ENDIF
  19.  
  20. BROWSE NOMODIFY NOAPPEND NODELETE TITLE "Elija y Presione 'Esc.'"
  21. thisform.text1.Value = jugadorcod
  22. thisform.text2.value = jugadornom
  23. thisform.text3.Value = jugadorpos
  24. thisform.combo1.ListIndex = equ
  25.  
  26. thisform.command1.Enabled = .F.
  27. thisform.command2.Enabled = .F.
  28. thisform.command3.Enabled = .T.
  29. thisform.command4.Enabled = .T.
  30. thisform.text1.Enabled = .F.
  31. CLOSE TABLES
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement