Tornado API Library - V12.30.08

GetData.Get_Sbox Method 

Build a SelectBox with Init Record pointer option.

Product Version

All
[Visual Basic]
Public Function Get_Sbox( _
   ByVal Params As String _
) As String
[C#]
public string Get_Sbox(
   string Params
);

Parameters

Params

Unit = dbUnit

Text = Matching Text (Exact)

Index=Initial 0 based Record Number

Return Value

Dim ret as string = GD.Get_Sbox("Unit=?| Text=abc| Index=?")

Example

Dim GD As New Tornado.Getdata()
Dim Mydb3 As New Tornado.Z()
  With Mydb3
    .dbQP = "U=3| s=12| Ps=-1| D=nwind| Q=employees| M=ty=SBox!SboxMacro=#1#"
    .ASPdbNET()
    .Response.Write(GD.Get_Sbox("T=Peacock"))
    .Response.Write(GD.Get_SelectBoxSelection(3))
  End With

See Also

GetData Class | Tornado Namespace | dbMode