Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. With DE.rsCom1
  2. If .State = adStateOpen Then
  3. .Close
  4. End If
  5. .Open
  6.  
  7. Dim rsclone As ADODB.Recordset
  8. Dim texto As String
  9. Dim busccol As String
  10. Dim buscte As String
  11. Dim fbuscar As Variant
  12. Dim rusr As String
  13. Set rsclone = .Clone
  14. rsclone.MoveFirst
  15. buscco1 = "jugador"
  16. buscte = Form1.TXT1.Text
  17. texto = busccol & "='" & buscte & "'"
  18. rsclone.Find texto
  19. If rsclone.EOF Then
  20. .AddNew
  21. !jugador = Form1.TXT1.Text
  22. !puntuacion = Form2.LBL3.Caption
  23. Else
  24. MsgBox "ya existe"
  25. End If
  26. End With
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement