Just a SWAG, but:
CLOSE ALL
OPEN MYDBC EXCL
VALIDATE DATABASE RECOVER
MODIFY DATA
Then, click on Database and Clean up the database so all the deleted records are removed.
Next, you could just drop the views, clean up the database again, then try running your code to create the views again.
Mark McCasland
Midlothian, TX USA