Progress
ADM 2 Reference


assignFields (html-map.p)

Assigns the current form buffer values in the enabled fields/objects to the SmartDataObject, the database, and/or to local object variables.

Parameters: None

Returns: Nothing (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. 

Notes: Commonly used in a HTML Mapping object’s process-web-request procedure.


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