Results 1 to 2 of 2

Thread: Checkbox problem with 5-18 version

  1. #1
    Join Date
    Oct 2002
    Posts
    161

    Checkbox problem with 5-18 version

    Two issues.

    First you cannot update a checkbox, it creates a sql error.

    Second when you try to add, it default the checkbox to the current record's value.

    Also tornadoinfo does not display a version no, it comes out as ver 0.0.0.0

    Here is an example with Northwind

    <script language="vb" runat="server">
    Sub Page_Load(Source as Object, E as EventArgs)
    Dim grid As New Tornado.Z()
    with grid
    .dbUnit = 4044
    .dbQP = "m=g|d=Nwind|gdf=0,1,2,9"
    .dbsql = "Select * from Products"
    .dbmemotextsize = 2048
    .dbskin = "oceanabove"
    .dbBookMark = "Products;0"
    .dbnavigationitem="basic5,add,update"
    .dbNameMap = "fi=1|alias=Prod Name,fi=2|alias=Supplier,fi=9|alias=Discontinued"
    .dbEditAddFlds = "fi=1,fi=2,fi=9|ty=checkbox"
    .dbEditUpdateFlds = "fi=1,fi=2,fi=9|ty=checkbox"
    .dbpagesize=1
    .dbTextHolder = "Test checkbox"
    .ASPdbNet
    end with

    End Sub
    </script>

  2. #2
    Join Date
    Oct 2002
    Posts
    933
    Checkbox true/false fixed. Cnnot duplicate the tornado version problem.

    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
  •