Repeating Section Email [SOLVED] - Two more questions: insert repeating section and autonumbering - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Repeating Section Email [SOLVED] - Two more questions: insert repeating section and autonumbering

Last post 08-27-2007 06:48 AM by nukkumatti. 16 replies.
Page 2 of 2 (17 items) < Previous 1 2
Sort Posts: Previous Next
  • 08-24-2007 11:10 AM In reply to

    Re: Repeating Section Email (REALLY need help here)

    function DeleteRow()
    {
        var cn = new ActiveXObject("ADODB.Connection");
        var strConn = "PUTSQLCONNECTIONSTRINGHERE";
        cn.Open(strConn);
        var rs = new ActiveXObject("ADODB.Recordset");
        var SQL = "delete from Requests where referenceID="+XDocument.DOM.selectSingleNode("dfs:myFields/dfs:dataFields/d:Requests/@referenceID").text;
        rs.Open(SQL, cn);
        var SQLnew = "delete from furtherTracking where referenceID="+XDocument.DOM.selectSingleNode("dfs:myFields/dfs:dataFields/d:Requests/@referenceID").text;
        rs.Open(SQLnew, cn);
        cn.Close();
    }

    That code deletes a row from the database. Now, with similar code, shouldnt I be able to query the database and select the largest number. However if I used "select" rather than delete, how would I store the result, in a dataset? I think I've got somewhat of a general concept here, but I need some help actually writing the code...

  • 08-27-2007 06:48 AM In reply to

    Re: Repeating Section Email (REALLY need help here)

    sorry for the late response but i think you have to find another way yourself now as at least i am out of any ideas. i also think that we have mentioned already most of the possible solutions. good luck anyway.
    Listen to Motörhead cos they play Rock'n Roll :)
Page 2 of 2 (17 items) < Previous 1 2
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.