Have following query that returns path based upon a select with "like" condition
Dim oObject As IDfSysObject = NothingDim oIDFQuery As IDfQuery = oClientx.getQuery
Dim ors As IDfCollection = NothingoIDFQuery.setDQL(
"select r_object_id, object_name, r_folder_path from dm_folder where object_name like '" & Folder & "%" + "'")ors = oIDFQuery.execute(oSession, tagDfQueryTypes.DF_READ_QUERY)
If ors IsNot DBNull.Value Then
While (ors.next()) myPath = ors.getString("r_folder_path").ToString DropDownList1.Items.Add(myPath)
End While
Now, using the returned path from above I need to do another query with a "like" condition looking for a sub folder(s). Not sure how to create a query wirh a given path. Thank you.