Define Filter/Search fields and the options of each field.
dbQP Abbr: ff
Version: All
Namespace:
TornadoVersion: All
Assembly: Tornado (in Tornado.dll) Version: 12.6.0.9 (1.0.0.0)
Syntax
| C# |
|---|
public string dbFilterFlds { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property dbFilterFlds As String |
Field Value
Obj.dbFilterFlds="(;,)Field | Type | Tags | Def | ValueIndex | TextIndex | Notes | Help, Field..... repeat"Filter fields keywords and options are identical to the EditFlds. See Special Topic - Edit for Keywords description.
Remarks
- Filter and Edits keywords have the same syntax.
- ASP-db filter has a built-in 'Compound Effect'. That is, you can input - apple or orange or pineapple in the input box.
Examples
The following is a very basic filter example. It is by no means adaquate to be used. See Special Topic - Filter for more details.
CopyVB.NET
<script language="VB" runat="server"> Sub Page_Load(Src As Object, E As EventArgs) Dim x As New Tornado.z x.dbQP = "u=1|q=orders|D=Nwind|Ni=b5,Filter,ResetFilter|Gdf=0,1,2,3" x.dbFilterFlds = "0,1" x.ASPdbNET() End Sub </script>