Try this...

INSERT INTO TableName (FieldName1,FieldName2,FieldName3) VALUES
('#Form.Dat1#','#Form.Dat2#','#Form.Dat3#')

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 14, 2000 6:13 PM
To: [EMAIL PROTECTED]
Subject: Simple SQL Question


Ok I want to "conjugate" 3 fields when i am inserting into a database.

this is what i have, but it won't work, am i missing something???

<cfquery datasource="data" name="add">
INSERT INTO Data(data1)
VALUES('#FORM.dat1# #FORM.dat2# #FORM.dat3#')
</cfquery>


?????
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to