Avatar

Level 10

Hi there,

you got it almost right... if your variable nRtn is 4, that means the user answered 'yes' but you give the options for 'ok' and 'cancel'

  • 1 (OK)
  • 2 (Cancel)
  • 3 (No)
  • 4 (Yes)

So if u are using 'ok' and 'cancel', the value can only be 1 or 2

Hope this help!