Skip to Content
0
Former Member
Aug 09, 2007 at 11:31 AM

HTML - Business Transaction - Xacute Query

27 Views

I have a problem in my HTML/JavaScript calling an Xacute query. My business transaction gives me the expected results. My Xacute query gives me the correct results. However, when I run the HTML, I'm getting an error. The error does not display on the screen. Instead blanks display on the screen. I've been looking at it for a couple of days. I can't see the problem. Any help you could provide would be greatly appreciated.

Here's my JavaScript code:

document.get_oper_cmd.getQueryObject().setParam(1,order);

document.get_oper_cmd.getQueryObject().setParam(2,WrkCntr);

// Execute the get operations applet (DSH_GET_OPER_DET_XQRY)

document.get_oper_cmd.executeCommand();

//If there are errors

if (document.get_oper_cmd.getLastError());

//Display the error then leave

{alert(document.get_oper_cmd.getLastError());

alert("Errors")

return;

}

When it runs - I get an alert that is blank, and then an alert that has "Error" assigned to it.

Thank you for the help,

Michelle