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!