No. Still Doesn't work. I get a page telling me that the thing can't be zero length. This is my code so far. The form itself is a page called "Test4.HTM"
It's a bit long but the bit you said to put in is right at the top. (CFPARAM)
<HTML>
<CFPARAM NAME="Test4.Country" DEFAULT="^None">
<CFFILE ACTION="Upload" FILEFIELD="Form.Logo"
Destination="C:\CFusionMX\
NAMECONFLICT="Overwrite" ACCEPT="image/gif, image/jpg, image/pjpeg, image/jpeg">
<CFSET NewLogo = File.Clientfile>
<CFQUERY DATASOURCE="DiveSchools" Name="NewImage">
INSERT INTO DiveData(Logo, ContactName, OrgName, Organisation, Description, City, Address1,
Address2, PostCode, Country, Tel, Fax, Email, Website, Facilities)
VALUES ('#NewLogo#','#ContactName#','#OrgName#','#Organisation#','#Description#','#City#',
'#Address1#','#Address2#','#PostCode#','#Country#','#Tel#','#Fax#','#Email#',
'#Website#','#Facilities#')
</CFQUERY>
<CFQUERY DATASOURCE="DiveSchools" Name="LogoQuery">
Select *
From DiveData
Where Logo='#NewLogo#' AND OrgName='#OrgName#'
</CFQUERY>
<HEAD><TITLE>AAAARGH</TITLE></HEAD>
<BODY>
<CENTER><H2>WOOHOO! This is Your Image.</H2><br>
<CFOUTPUT QUERY="LogoQuery">
<IMG SRC="C:\CFusionMX\
Your ID Number is DC#ID_CODE#. Please quote this number if you need to
contact me.<p>
<B>Your Current Details are as follows:</B><br>
Contact Name: #ContactName#<br>
Business Name: #OrgName#<br>
Organisation: #Organisation#<br>
Summary of Business: #Description#<br>
City: #Description#<br>
Address 1: #Address1#<br>
Address 2: #Address2#<br>
Post/Zip Code: #Postcode#<br>
Country: #Country#<br>
Tel: #Tel#<br>
Fax: #Fax#<br>
E-Mail: #Email#<br>
Website: #Website#<br>
Facilities: #Facilities#<br>
</CFOUTPUT>
</CENTER>
</BODY>