Utilizamos cookies propias y de terceros para mejorar la experiencia de navegación, y ofrecer contenidos y publicidad de interés. Al continuar con la navegación entendemos que se acepta nuestra política de cookies.
LO PRIMERO ES UN CONTROL ADODC VINCULADO CON LA TABLA DE LA BASE DE DATOS DE ACCESS LUEGO HAS SIGUIENTE EN TU BOTON
IF ADODC1.RECORDSET.RECORDCOUNT=0 THEN ADODC1.RECORDSET.ADDNEW ADODC1.RECORDSET.FIELDS("CAMPO").VALUE=1 ADODC1.RECORDSET.UPDATE ELSE ADODC1.RECORDSET.UPDATE "CAMPO",VAL(ADODC1.RECORDSET.FIELDS("CAMPO").VALUE)+1 ENDIF