Release 10.1A: OpenEdge Development:
ADM Reference

> ## findRecords

> Procedure that opens the SmartDataObject or database query that finds the records in this frame.

> Location: html-map.p

> Parameters: None

> Notes: Commonly used in process–web–request procedure.

> Examples:

>     PROCEDURE process-web-request:
>        IF REQUEST_METHOD = "POST":U THEN DO:
>         /* Copy HTML input field values to the form buffer fields. */
>         RUN inputFields.
>         /* Find the datasource record that needs to be assigned. */
>         RUN findRecords.
>         /* Assign form buffer field values to the datasource. */
>         RUN assignFields.
>         /* Display datasource field values to the form buffer fields. */
>         RUN displayFields.
>         /* Enable form buffer fields. */
>         RUN enableFields.
>         /* Output the static HTML page and form buffer field values to the
>            web stream. */
>         RUN outputFields.
>       END.
>     END.

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