Expand|Select|Wrap|Line Numbers
- <CFIF IsDefined("URL.Do")>
- <CFIF #URL.Do# IS "save">
- <CFQUERY DATASOURCE="scottersNew" NAME="allEmployeeQuery">
- UPDATE employees, employeeInfo
- SET firstName='#form.firstName#',
- lastName='#form.lastName#',
- phone='#form.age#',
- idNumber='#form.idNumber#'
- WHERE idNumber='#URL.ID#'
- </CFQUERY>
- </cfif>
- </cfif>
I'm assuming that its a object oriented kinda thing like javascript. like document.form.value. Is that right, or is there some other meaning? What is the point of putting "form." in there is kinda what im getting at.
Thanks,
Scotter