Creating a Table Object

Table Objects are created in the dbobject.createTables handler of the button object script that is assigned to the table objects behavior property of the Database object. If you are not familiar with the table objects behavior property please see this lesson.

Create A Table Object

Here is an example how to create a table object for some tables named "projects", "todo_items" and "people".

on dbobject.createTables

## Create Table Objects

tableobj_createObject "projects"

tableobj_createObject "todo_items"

tableobj_createObject "people"

end dbobject.createTables

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.