Tornado API Library - V12.30.08

z.dbStartUp Property

StartUp parameters.

Product Version

All
[VisualBasic]
PublicPropertydbStartUpAsString
[C#]
publicstringdbStartUp{set;}

Property Value

Obj.dbStartUp = "EditAdd | EditGridAdd| StickyEditAdd | EditUpdate | EditGridUpdate| Filter"

KeywordDescription
EditAddApplication starts up in 'Add' mode and then goes to display mode.
EditGridAddApplication starts up in 'Grid Add' mode and then goes to display mode.
StickyEditAddApplication 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.
EditUpdateApplication starts up in 'Update' mode and then goes to display mode.
EditGridUpdateApplication starts up in 'GridUpdate' mode and then goes to display mode.
FilterApplication starts up in 'Filter' mode and then goes to display mode.

QuickProp Keyword Abbreviation

su

Remarks

dbStartUp (Filter only) is not the same as dbMode="ty=grid| filterStart=true" which starts up in a Grid + Filter mode.

Example

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>

See Also

z Class | Tornado Namespace | dbMode