Updating SQL via infopath 2003 - InfoPath Dev
in

InfoPath Dev

Updating SQL via infopath 2003

Last post 03-30-2010 04:22 AM by silverj. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-30-2010 04:22 AM

    Updating SQL via infopath 2003

    Afternoon All

     I am trying to set a flag in a sql database once a user has clicked on a button within an infopath 2003 form.

     I have set up a simple test which does not seem to be working and I am at a loss as to say why

     The code within the button is ...

     

    function CTRL262_7::OnClick(eventObj)

    {

     XDocument.QueryAdapter.Command = "Insert into d_TEST SELECT 'Test9'" ;

    XDocument.Query();

    } 

     Can anybody see what I have done wrong? I have also tried to execute it as a stored procedure with no success and my sanity is starting to fray at the edges now!

     

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.