dcsimg
Results 1 to 2 of 2

Thread: .dbEditGridUpdate = True not working in May release

  1. #1
    Join Date
    Oct 2002
    Posts
    14

    Unhappy .dbEditGridUpdate = True not working in May release

    Hello,

    The following code is an example of a bug we have found with grid update. We see this very clearly in our own code, and below is the example code with nwind.


    <%@ Page Language="vb" Debug="true" %>
    <script language="vb" runat="server">
    Sub Page_Load(Source as Object, E as EventArgs)

    Dim Mydb As New tornado.z()
    With Mydb
    .dbQP = "Unit=2| Mode=Grid| Skin=plain| DSN=Nwind| SQL=SELECT * From Employees|ni=b5,update| BM=Employees;0| TextHolder=Title=Basic Grid"
    .dbEditUpdateFlds = "1,2"
    .dbEditGridUpdate = True
    .ASPdbNET()
    End With

    End Sub
    </script>

    Thanks,

    Dean

  2. #2
    Join Date
    Oct 2002
    Posts
    933
    If you follow the grid upadte discussion, you'll notice that grid edit has now separate buttonand flds and soon has it's own sql. Grid update/add and normal update/add can now can co-exist. If you have the latest version then all you need is to change ->

    ni=b5,update

    to

    ni=b5,gridupdate

    and you do not need gridupdate=true any more


    send me an email to get the latest 'patch' Dll.


    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
  •