Problem when trying to update database
The problem I'm having is that whenever i try to change a certain piece of information about the client it always changes it to a totally different number that doesn't make sense. in the database. For example a clients island id is 3 and i want to change it to 12, the number that shows in the database after i hit update is 40430. I am at a loss and have no clue why it's doing such a thing. Here is the edit file to make the changes accordingly.
=========== Edit file ============
<!--- Insert or update? --->
<cfset EditMode=IsDefined("FORM.BusinessID")>
<cfif EditMode>
<!--- Update movie --->
<cfupdate datasource="wyi2" tablename="Business">
<cfset action="updated">
<cfelse>
<!--- Add movie --->
<cfinsert datasource="wyi2" tablename="Business">
<cfset action="added">
</cfif>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<!--- Feedback --->
<cfoutput>
<h1>Client #FORM.BusinessName# #action#</h1><br/>
<cfif IsDefined('FORM.Events') AND FORM.Events EQ 1>
<a href="add_event.cfm">Now add the event</a>
</cfif>
</cfoutput>
</body>
</html>