Session attributes for ProDataSets, Data-Sources, and queries
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
You can identify the first dynamic Data-Source
in a session, using the FIRST-DATA-SOURCE session
attribute, as shown:
|
You can then follow the chain of all dynamic
Data-Sources using the SESSION:NEXT-SIBLING attribute.
You
can identify the first dynamic ProDataSet in a session, using the
new session attribute FIRST-DATASET, as shown:
|
You can then follow the chain of all dynamic
ProDataSets, using the SESSION:NEXT-SIBLING chain.
Although
it is somewhat independent of the ProDataSet support, there is also
a new session attribute FIRST-QUERY to identify
the first dynamic query in a session. For example:
|
You can again follow the chain of all dynamic
queries in a session using the SESSION:NEXT-SIBLING attribute.
This chain will include all auto-generated queries, such as those
for Data-Relations, as well as ones you have created in your procedures.