Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Time Out

Avatar

Former Community Member
Hi there,



In designer i have written a query that will retrieve some values. The code looks like this:



var strQuery = numdept1.rawValue;



xfa.sourceSet.DataConnection.resolveNode("#command").query.select.nodes.item(0).value = "select TotalPS,TotalSup from lp_budget where DeptNo = " + strQuery ;



try

{

xfa.sourceSet.DataConnection.open();

}

catch (e1)

{

app.alert("The EquiTax database is currently down. Please try after some time.");

}



But when i run the pdf, its always going to the catch. In the connection settings i have enabled the delay option. But this its going to the catch block. Is there any other settings that i need to change.



Can someone help me in this.



Suraj
0 Replies