Type type of each Input Fields for ASPdbMyInputForm.
dbQP Abbr: mif
Version: Gold
Namespace:
TornadoVersion: Gold
Assembly: Tornado (in Tornado.dll) Version: 12.6.0.9 (1.0.0.0)
Syntax
| C# |
|---|
public string dbMyInputFlds { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property dbMyInputFlds As String |
Field Value
Obj.dbMyInputFlds = "(;,~)Field;Label| Type | Tag | Def | ValueIndex | TextIndex | Notes | Mask | Event| Min | Max | Req | ErrorText| Oper| CompVal | Help"See Special Topic - Edit for Keywords description.
| Keyword | Description |
|---|---|
| FieldName;Label | FieldName;Label. If Label is missing then Name = Label. dbNameMap cannot be used to provide the Caption of the user fields. This is the INPUT control's NAME the Label that precedes that. Instead of editing a DB where the field names and data types are defined, User defined input fields must provide the names and labels, The names will be the URL variable. See example code. |
| Type | Tag | Def | ValueIndex | TextIndex | Notes | Mask | Event| Min | Max | Req | ErrorText| Oper| CompVal | Help | Same as Edit. Note that Value/Text index has 4 different options -
Commontableindex | [[Application]] | <<CommonText>> | {{User}}
If macro starts with numeric and macro.indexof("-")>-1 then numeric range is assumed with format - Start-End-Inc. Applies to [[..]],<<..>> and {{..}} e.g. - fi=Qtrain;Training|Type=SelectBox|Val={{0-5}} |
| dbEditCols | Use this property to define the snake columns. |
Remarks
See ASPdbMyInputForm for other examples.
Examples
<script language="VB" runat="server"> Sub Page_Load(Src As Object, E As EventArgs) Dim Mi As New Tornado.z With Mi .dbDebug = "Request" 'Debug - Print out Submited values .dbQP = "U=1|S=aspdb|th=tit=My Input Form" .dbMyInputFlds = "Fi=One, Fi=Two|Type=textcalendar" .dbEditcols = 2 Response.Write(.ASPdbMyInputForm()) End With End Sub </script>