Yes, you can run a delete query from just about anywhere. Try running it from the database window. It should give you a better description of the error.
My macro runs fine from the macro screen, but that rascal switchboard won't run it. What command number should I be using in the switchboard items table. I tried 1,2,3,and 4.