Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: Error Executing Database Query.

$
0
0
INSERT INTO jobapp(jobappid, appdate, applastname, appfirstname, appmiddlename, appphone, appstreet, appcity, appstate, appzip, fulltime, eighteen, appposition, previous, previousdate, available, experiences, crime, hsaddres, hssubjects, hsyears, hsgrad, hsdiploma, collegeaddres, collegesubjects, collegeyears, collegegrad, collegediploma, techaddres, techsubjects, techyears, techgrad , techdiploma, q1, q2, q3)          VALUES('#jobappid#')    <cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appfirstname#"/>    <cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appmiddlename#"/>    <cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.applastname#"/>


 

 

You insert "jobappid, appdate", but the values you supply are "jobappid, appfirstname".

 

Also, only jobappid is within the ( and the ) of your VALUES statement.  There are no commas between values.  For all queries.

 

^_^


Viewing all articles
Browse latest Browse all 21760

Trending Articles