Custom SQL Commands? - InfoPath Dev
in

InfoPath Dev

Custom SQL Commands?

Last post 01-30-2010 05:23 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-27-2010 09:27 AM

    Custom SQL Commands?

    I'm using Infopath against a SQL Server database, and am trying to write the
    VB code to execute custom SQL commands, like Updates and Deletes. When I
    test, if I don't add any new data to the form, then I get an error saying
    that no new data exists to submit, even though the code is an update
    statement to set the entire table to null. If I do just add a record with
    dummy data, then choose the button, it just submits that data and ignores
    the code completely.

    Are custom SQL statements not possible?

  • 01-30-2010 05:23 AM In reply to

    A lot depends on how your form is set up and what event your code is in. Is your code in the Submit event of the form? What does your code look like?

    Hilary Stoupa

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