J
jdionne
I changed the default action on the Run Query to Rules and Custom Code
and wrote code for the OnCLick event for the button. I am able to
successfully run the query. However I want to be able to tell if my
query found any rows or not. Is there a property for query state? If
the query returns empty no error is thrown. Also, it seems that when
the query runs and does return a row, and the datafields get populated,
I have an onafterchange event registered to the control, however when
the event fires, the eventObj.Source.text object is empty. Is it
correct to guess the XDocument dom is not complete when the query
returns and many objects and events are not accessable?
Has anyone messed with this? Or know if this is the proper behavior?
Thanks in advance,
John
and wrote code for the OnCLick event for the button. I am able to
successfully run the query. However I want to be able to tell if my
query found any rows or not. Is there a property for query state? If
the query returns empty no error is thrown. Also, it seems that when
the query runs and does return a row, and the datafields get populated,
I have an onafterchange event registered to the control, however when
the event fires, the eventObj.Source.text object is empty. Is it
correct to guess the XDocument dom is not complete when the query
returns and many objects and events are not accessable?
Has anyone messed with this? Or know if this is the proper behavior?
Thanks in advance,
John