Bind the attributes and operations of a mobile business object to a database object.
Generate SQL query from the selections – next, select the database columns to use in the SQL query. The SQL query is generated automatically, and appears at the bottom of the window.
Example for a Sybase database: Appending a SELECT statement to the form Select*FROM<tableName>WHERE <identityColumnName> = @@identity
This enables the multi-level insert feature functionality.
Define the SQL query manually – next, click Visual SQL to start the Visual SQL Designer.
SELECT * FROM Customer WHERE firstName = '@OP["fname"=""]' && lastName = '@OP["lname"=""]'
To check whether the SQL is valid, click Validate Syntax.
For each parameter, specify:
| Option | Description |
|---|---|
| Name | Parameter name. Note: Parameter names cannot contain C# or Java reserved words.
|
| Datatype | Parameter datatype. |
| Default Value | Default parameter value. |
| Argument | Database argument name. |
| Datatype | Datatype of the database argument. |
| Default Value | Default argument value. |
| Filter By | Define the argument as a field that can be used to filter the results that are downloaded to mobile devices. |
| Personalization Key | If you select Filter By, you can select a personalization key to map to the argument, which provides an argument value. |