Set Display mode and options.
Obj.dbMode="Type | Classic | Indexfld | sysindex | Header | Supergoto | Scroll | FixedCol | AddStart | UpdateStart | FilterStart | SboxTag | SBoxMacro" | Email | RowEdit| UserChart"
e.g. Type=SBoxForm | Macro = #0#-#1#
SBoxForm is a special case of the 'Dual' mode where the 'Grid' part is replaced by the SelectBox.
SBox returns only the SelectBox in GetData.Sbox like GD.Get_Sbox(Unit) (See example)
|Classic||True|False(Def). Retain the old classic ASP-db Grid and Filter modes using single form per screen.|
|Indexfld||Column to use for index (0 based). IndexFld=0|
|sysindex||Treu|False(Def). If SysIndex = False then the system '#' Column will not show, the indexing link will be performed on Column 'Indexfld'.|
|Header||True(Def)|False. If False then Grid header will be hidden..|
|FormHeader||True(Def)|False. If False then turns off Form label.|
|FilterHeader||True(Def)|False. If False then turns off Filter label.|
|Supergoto||True|False(Def). If SuperGoto = True then the SuperGoto bar will show. See Goto properties.|
|Scroll||True|False(Def). Retain the old classic ASP-db Grid Edit and Filter modes using single form per screen|
|FixedCol||Fixed columns on left.|
|AddStart||True|False(Def). Startup as Grid + Add. NaviagtionItem MUST include 'Add' and BookMark MUST be defined. (Only one of these three can be used)|
|UpdateStart||True|False(Def). Startup as Grid + Update. NaviagtionItem MUST include 'Update' and BookMark MUST be defined.(Only one of these three can be used)|
|FilterStart||True|FalseF(Def). Startup as "Grid + Filter". (Only one of these three can be used) To set startup = filter only - set FilterStart=True in mode and dbStarUp=Filter This is not the same as dbStartUp=Filter in which a form like (or user template) page is displayed|
|SboxLabel||Left Side label before <SELECT> box.|
|SboxTag||Tags for the <SELECT...> box.|
|SBoxMacro||When mode=SboxForm. This macro will apply. This macro will be displayed as the 'Grid' just as the 'Grid' in the Dual mode. When dbSQL="" and SboxMacro items is inside (..) separated by commas, then user items is assumed.|
|True|False(Def). This module produce output for Email.|
|RowEdit||True|False(Def). This option emulates the Edit in every row feature of Classic ASP-db. Further more, it can mix with Tornado's editing format. Very flexible. |
Note: RowEdit (Update/Delete) requires these two actions defined in dbNavigationItem.