Retrieve the value of a column specified by form data
ns_dbformvalue formdata colname type valueVar
ns_dbformvalue returns the value of a specified column (colname) in valueVar, given column values encoded as formdata (see page 55). The formdata is an ns_set structure that can be obtained by calling ns_conn form. Specify the datatype of the column in the type argument. Valid type values are text, integer, real, boolean, date, time, or timestamp.
If necessary, ns_dbformvalue combines multiple form elements to get the value, such as for dates.
Use this function for accessing data filled into an automatically-generated search, update, or entry form.