Creating Table Objects

When you want to work with some of the more advanced SQL Yoga features you need to create table objects. The plugin will export the code to the clipboard that you need to add to the "table objects behavior" script.

Note that you must have already connected to your database at least once before following these steps. Otherwise SQL Yoga will not have had a chance to import the tables in your database.

Select the Database Object

Select the Database Object

Right-Click on Database Object

Right-Click on Database Object

Select Copy table object create code to clipboard from the contextual menu.

The Clipboard Contents

The Clipboard Contents

The system clipboard will now contain RevTalk similar to what you see above. Basically each table will be included in a tableobj_createObject call.

Add Code To dbobject.CreateTables Handler

Add Code To dbobject.CreateTables Handler

You can now paste the clipboard contents in to the dbobject.createTables handler that you define in the script of the button that is serving as the "table objects behavior" for your Database object.  

0 Comments

Add your comment

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