User Tools

Site Tools


built_in:database

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
built_in:database [2015/03/21 09:35]
octazid created
built_in:database [2017/04/29 20:40]
47.35.130.92 Startup
Line 7: Line 7:
 db = app.OpenDatabase( "MyData" ); db = app.OpenDatabase( "MyData" );
 </code> </code>
 +To save your database in a specific folder, use an absolute path. See [[built_in:get_database_folder|GetDatabaseFolder]]
  
 ===== Methods ===== ===== Methods =====
Line 24: Line 25:
  
 //Called when application is started.    //Called when application is started.   
-function OnStart()   +function startup()   
 {    {   
     //Create a layout with objects vertically centered.        //Create a layout with objects vertically centered.   
Line 63: Line 64:
     //Get all the table rows.            //Get all the table rows.       
     DisplayAllRows();       DisplayAllRows();  
-}   +}   (Display)
  
 //Called when user touches our 'Add' button.    //Called when user touches our 'Add' button.   
Line 116: Line 117:
     }        }   
     txt.SetText( s );        txt.SetText( s );   
-}   +}   Data sms
  
 //Callback to show errors.    //Callback to show errors.   
built_in/database.txt · Last modified: 2017/04/30 04:47 (external edit)