Results 1 to 2 of 2

Thread: dbSupergotoFld

  1. #1
    Join Date
    Dec 2002
    Posts
    3

    dbSupergotoFld

    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
    .dbUnit=1
    .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
    .ASPdbNet
    end with
    End Sub
    </script>

  2. #2
    Join Date
    Oct 2002
    Posts
    933
    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.

    FK

Posting Permissions

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