Results 1 to 2 of 2

Thread: dbSupergotoFld

  1. #1
    Join Date
    Dec 2002


    When I use dbSupergotoFld in Tornado (gold), I get an error that says "Index was outside the bounds of the array."

    Can you see any reason the code below shouldn't work? Thanks.

    <script language="vb" runat="server">
    Sub Page_Load(Source as Object, E as EventArgs) Handles MyBase.Load
    Dim Grid1 As New Tornado.Z()
    with Grid1
    .dbSkin= 12
    .dbMode = "type=grid"
    .dbDBType = "SQL"
    .dbProvider = "SQL"
    .dbDSN = [this works] .dbSQL = "SELECT CountryName FROM CountryTable ORDER BY CountryName"
    .dbSuperBar = "type=1"
    .dbSupergotoFld = "1"
    'if I comment out the line above, it works
    end with
    End Sub

  2. #2
    Join Date
    Oct 2002
    try -> .dbSupergotoFld = "0"

    Also, operator defaults to SW (Starts with) and will blow up if field is numeric in version < 1203. Version >= 1023 will compare fields as string if operator = SW. For < 1203, use =value instead of leaving it blank.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts