I have a InfoPath form that I need to create a connection to a SQL database and return some values. I can create with using the Data Connection wizard, but that returns too many records. What I want to do is to pass a parameter. Here is my current code.
function RetreiveMatters::OnClick(eventObj)
{
var objADOAdapter;
objADOAdapter = ...