Yikes, I am confused as well!
You pretty much did exactly as I have done with my project. No_data brings a message box, and setting cancel = true. Identical to what I have done.
I went ahead and tried a new one, in a blank database, as you probably did, doing the same thing, but still received...