I am trying to run a baq that I created from my customization, but i am getting a null reference exception that i can not figure out where it is coming from. Can someone please help.
My code:
I have these two lines on the form_load event:
adapter = newDynamicQueryAdapter(this.UD01Form);
adapter.BOConnect();
I am calling the method on a button click event
jkane
(John Kane)
July 31, 2020, 9:41pm
2
You need to add in the ID of the query.
QueryExecutionDataSet ds = new QueryExecutionDataSet("BAQID");
I get an error when I do that saying that the queyexcecutiondataset does not have a constructor that takes a perameter.
bmanners
(brett manners)
August 3, 2020, 11:39am
4
Check that epiTextBoxNumber is not null…?
Brett
I resolved this, I had my query id misspelled in my call to addapter.ExcecuteByID