You could use the MySQLi Update Record server behavior to increment the value. Use the Unique ID from the rsAdverts recordset to identify the row to update and increment the value of the advert_views. Use the "always" or "before page loads" (same thing) trigger and just make sure the update code appears below your recordset code (you will probably have to cut and paste to move it below).