lcXML=loEvent.ListEventsForTypeXML(DATE(),DATE()+90,7)That would mean, in my case, I am getting the following for the lcXML:
<NewDataSet />So, I would want to detect when this is the case. Because there is no need to proceed with XMLToCursor() if this is the case. So, in such situation, is this what I should expect from the XML string to be returned or should I be better to proceed with XMLToCursor() but then verify for the creation of the cursor? Presently, if I try to create the cursor, I would get the command to be executed but no cursor is created. Is that a better approach?