Avatar

Level 10

Are you using app.alert to get the yes/no answer?

var nButton = app.alert({

          cMsg: "Warning: You are about to reset the table. \n\nDo you want to continue?",

          cTitle: "Reset Table",

          nIcon: 1, nType: 2

});

if (nButton == 4) {

       put table reset code here

}