Tornado API Library - V12.30.08

z.dbFirstTimeOnly Property

Execute module only once.

Product Version

All
[VisualBasic]
PublicPropertydbFirstTimeOnlyAsBoolean
[C#]
publicbooldbFirstTimeOnly{set;}

Property Value

Mydb.dbFirstTimeOnly = True | False(Def)

QuickProp Keyword Abbreviation

fto

Remarks

The firttimeonly module usually contains security type setups.

Example

In this examlple, unit 1 only execute once upon entry.

<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim z1 As New Tornado.z
  With z1
   .dbFirstTimeOnly = True
   .dbQP = "u=1| D=Nwind| Q=Orders| Gdf=0,1,2,3| Ni=none|Th=Ti=First Time Only Demo"
   .ASPdbNET()
  End With
  Dim z2 As New Tornado.z
  With z2
   .dbQP = "U=2|D=NWind|Q=Employees|Gdf=01,1,2,3|Th=Ti=Employee Table"
   .ASPdbNET()
  End With
End Sub
</script>

See Also

z Class | Tornado Namespace