StartUp parameters.
Obj.dbStartUp = "EditAdd | EditGridAdd| StickyEditAdd | EditUpdate | EditGridUpdate| Filter"
| Keyword | Description |
|---|---|
| EditAdd | Application starts up in 'Add' mode and then goes to display mode. |
| EditGridAdd | Application starts up in 'Grid Add' mode and then goes to display mode. |
| StickyEditAdd | Application starts up in 'StickyAdd' mode. 'Sticky' means it stays in the mode and user cannot entry display mode. Note that you MUST have 'Add' in NavigationItem for stickyadd. |
| EditUpdate | Application starts up in 'Update' mode and then goes to display mode. |
| EditGridUpdate | Application starts up in 'GridUpdate' mode and then goes to display mode. |
| Filter | Application starts up in 'Filter' mode and then goes to display mode. |
dbStartUp (Filter only) is not the same as dbMode="ty=grid| filterStart=true" which starts up in a Grid + Filter mode.
The follwoingis a Filter Startup example -
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim X12 As New Tornado.z
With X12
.dbQP = "U=12| S=11| Ps=10| D=NWIND| Q=Products| Gdf=0,1,2,3,4|" & _
"ni=b5,filter,resetfilter| Th=Ti=Startup Filter"
.dbFilterFlds = "1"
.dbNavigationItem = "basic5,filter,resetfilter"
.dbStartUp = "filter"
.dbFilterSQL = "Select * From products [[Filter]]"
.ASPdbNET()
End With
End Sub
</script>
z Class | Tornado Namespace | dbMode