Handling Updates

embeds a Java grid applet in your web pages, and provides simplified action page processing for grid updates when SELECTMODE=”edit”. But has limitations, the most significant being that it can only update data in a single table. For greater update control use tags to do the job. When an editable grid is submitted to the ACTION page three arrays are created (within FORM.field where field is the name) – ColumnName[] contains the current (edited) values, Original.ColummName[] contains the original values, and RowStatus.Action[] contains an action identifier (I for insert, D for delete, U for update). Looping through the array allows you to control data updating manually. (Applies to: ColdFusion 3 (or later))

Leave a Reply