Hi,
I have create a Front end editor for Log parser using VB.Net. I am running into a problem using the Datagrid as an output option.
My InputContext and OutputContext for the query are setup based on the input and output the user has selected. When I select datagrid for the output, and close the datagrid before all the results are processed, then I will not be able to run any other query, regardless of output type.
If I allow the Datagrid to load all the records, then I can run another query, including a Datagrid output query.
Is there something I am missing?
Thank you.
The sub routine is below.
-------------------------------------------
Public Sub mnuRunScript_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles mnuRunScript.Click
Dim oQuery As Object
Dim oInputFormat As Object
Dim oOutputFormat As Object
oQuery = CreateObject("MSUtil.LogQuery")
oInputFormat = CreateObject(getInputFormat(cboInput.Text))
oOutputFormat = CreateObject(getOutputFormat(cboOutput.Text))
Call oQuery.ExecuteBatch(Query.Text, oInputFormat, oOutputFormat)
oQuery = Nothing
oInputFormat = Nothing
oOutputFormat = Nothing
End Sub
-------------------------------------------