Use the
NEXT-SIBLING attribute to get the next entry in the chain of dynamic query handles created in the current ABL session. The chain of dynamic query handles includes all automatically generated queries, such as those created for data-relation objects.