Release 10.1A: OpenEdge Development:
ProDataSets

> ## Session attributes for ProDataSets, Data-Sources, and queries

> You can identify the first dynamic Data-Source in a session, using the `FIRST-DATA-SOURCE` session attribute, as shown:

>     SESSION:FIRST-DATA-SOURCE

> 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:

>     SESSION:FIRST-DATASET

> 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:

>     SESSION:FIRST-QUERY

> 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’ve created in your procedures.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095