Hello,
I have a little problem with my Infopath-Form.
I create a SQL-Insert-Statement in jscript and after finishing I Query it. Usually the data is correctly stored in the DB. But sometimes, Infopath beginn to flicker and after a few Seconds it brings the error "Stackoverflow". What is the reason for this error? I also can't catch him.
Could please somebody help me. Thanks
Here the code:
XDocument.DataObjects("Send").QueryAdapter.Command =
"SET NOCOUNT ON \n " +
"update dbo.tblHolyday set intStatusNr = '" + strNewStatus + "' where intHolydayNr = '" + intHolydayNr + "' \n "+
"select intHolydayNr from dbo.tblHolyday as tblHolyday";
XDocument.DataObjects("Send").Query();