Hello all the experts,
I don't have any experience with info path and this is my first project involved in InfoPath. Any help would be really appreciated!
In my InfoPath form, there is a list box, I'd like to populate this list box by using stored procedure but it did not work for me. Below is what I have but threw error : XDocument.QueryAdapter is null or not an object. BTW, this is Jscript. Would anybody help me to get it worked and show me how to write this same code in VB as well?
Thanks in advance!
function msoxd_my_SuperRegions::OnBeforeChange(eventObj)
{
XDocument.QueryAdapter.Command = 'execute "dbo"."GetCountry" ';
XDocument.Query();
}