guides:programming:programmers_reference_manual:inet_formwrite

Inet_FormWrite function

Internet procedure that retrieves data from an HTTP request and writes a row to native OpenInsight table(s). In a form, the names of the controls are matched with the OpenInsight column names when the row is written.

return = Inet_FormWrite(Request)

ParameterDescription
Request [in]HTTP-request

This function is analogous to a call to Send_Event(formID, "WRITE")

To write a row from a HTML form to the PRODUCTS file, with the ID=1-4235-24, enter the URL similar to that shown below:

http://127.0.0.1/cgi-bin/oecgi.exe/INET_FORMWRITE?FORM_ID=PROD_ENTRY&ID=1-4235-24

where the name of each control in the form matches to the name of the OpenInsight column.

HTML representation of the OpenInsight form.

  • guides/programming/programmers_reference_manual/inet_formwrite.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1