Is it possible to have database views created through Cuba?
Every time I try and create one through [New Update Script] or even [Init Tables] they are not created and the update script disappears. There are certain database views that my program requires and I want them to be generated upon database creation.
Yes, it is possible to create DB views through Cuba database scripts.
Both ‘New update script’ and adding to ‘INIT TABLES’ options are valid. But adding view creation script to INIT DATA is preferable, as all tables will be created at this step. In case of INIT TABLES you should place view creation statement after table creation.
Please check if there are any errors during database update or creation.
If update script execution failed, then it will be marked for deletion on the next Database Scripts page opening (There will be Warning window shown with unapplied scripts).