DW can simply create new, editing and deletions such as basic forms, but this can only be limited to simple operations, if the submitted form is required to generate some quantities before entering the database, it is not possible. It is more intuitively, and once the ASP code is written directly, the US worker cannot operate using the original DW generated server when processing the page! In response to this, I discussed a method with a small thank you, that is, the normal operation of DW is not destroyed, but also compares the inviting data.
1. Create a form that eventually enters data, some of which must be calculated to be replaced with a temporary entry box.
2. Create an update operation with DW.
3. Modify the entry form to meet the user entry requirements.
4. At this time, if you click Update, the newly added entry box will be "ignored" by default.
5. Generate code in DW
'create the m_fields and mm_columns arrays
Mm_fields = split (mm_fieldsstr, "|")
MM_COLUMNS = Split (mm_columnsstr, "|")
Behind your acquisition code
TempValue = Request.form ("Tempv"), etc.
6. Calculate the input information results Result
7. Alternatively replaced the original default input
MM_I = 13 'Here 13 is the value serial number of temporary entry box in mm_fieldsstr
MM_FIELDS (mm_i 1) = result
Haha! that's it!