<!---
Name:        edit4.cfm
Author:      Ben Forta (ben@forta.com)
Description: Dual purpose edit page
Created:     4/20/01
--->

<!--- Edit or update? --->
<CFIF IsDefined("FORM.FilmID")>
    <!--- Update movie --->
    <CFUPDATE DATASOURCE="ows" TABLENAME="Films">
<CFELSE>
    <!--- Add movie --->
    <CFINSERT DATASOURCE="ows" TABLENAME="Films">
</CFIF>

<!--- When done go back to movie list --->
<CFLOCATION URL="movies.cfm">
