Delete Record

Navigation:  Quick Start Guides > Cloud Storage Based App >

Delete Record

Previous pageReturn to chapter overviewNext page

Step 1: Click  "Open" from the File Menu. Click on Record page and click "OK".

 

mobilous_appexe_myproject_sbsg_phonestorage_update_openpage

 

Step 2: Click on "Add" to add a Row to the Record Page on the Properties Palette window. Click on Edit(0) button corresponding to Cells, to Edit Cell.

 

mobilous_appexe_myproject_sbsg_phonestorage_delete_added

 

Step 3: Drag and Drop RoundButton on the cell. Set Display Text as "Delete". Click on Edit(0) button of the "Delete" RoundButton corresponding to "on tap" function.

 

mobilous_appexe_myproject_sbsg_phonestorage_delete_editor

 

Step 4: Actions window open. Select "Remote DB Control" Actions Category, click on "Remote Delete" Action.

 

Enter Action Parameters:-

 

Parameter

Description

Table

Select Table Name For e.g "emp".

Where

User can also specify the where condition to filter the records.

The syntax of where condition is like "Fieldname='value'" which is a SQLite3's where syntax.

Field Name:        Name of the database table field.

Value:                Data from the table record. For Example: id='7'.

 

 

mobilous_appexe_myproject_sbsg_cloudstorage_delete_setparameter

 

Step 5: Remote Delete action is applied as shown in the image below. Click on the "+" Action Event Button on the right of the action to view the events.

 

mobilous_appexe_myproject_sbsg_cloudstorage_deleteapply1       mobilous_appexe_myproject_sbsg_cloudstorage_deleteapply2

 

Step 6: Select "Success" event and click on "Add" button at the bottom. Select "Page Transition" Actions Category, click on "Return To Previous Page" Action.

 

mobilous_appexe_myproject_sbsg_cloudstorage_delete_onsuccessReturn

 

Step 7: Return to previous page Success action is applied as shown in first image. Click on "+" Action Event Button on the right of this action to add another Success action. The events under "Return to previous page" action is displayed as shown in second image.

 

mobilous_appexe_myproject_sbsg_cloudstorage_delete_returnsuccess1       mobilous_appexe_myproject_sbsg_cloudstorage_delete_returnsuccess2

 

Step 8: Select "Success" event and click on "Add" button at the bottom to add action. Select "Main Value" Actions Category, click on "Reload the Updated Data" Action.

 

Enter Action Parameters:

 

Parameter

Description

Table Page

Select the Target Page e.g "List" to get an updated list after deleting record.

 

mobilous_appexe_myproject_sbsg_cloudstorage_delete_onsuccessReload

 

Step 9:  "Reload Update Data" action is applied on the "Success" event. User can click on the "+" Button on the right of the "Success" event to view the actions applied.

 

mobilous_appexe_myproject_sbsg_cloudstorage_delete_successadded     mobilous_appexe_myproject_sbsg_cloudstorage_delete_setaction