Shouldnt this work?


I get this error:
ODBC Error Code = 37000 (Syntax error or access violation)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO 
statement.


        <CFQUERY DATASOURCE="wigs.mdb" NAME="GetCurrentItem">
                SELECT *
                FROM colors
                WHERE id = #CurrentID#
        </CFQUERY>


        <CFLoop query="getcurrentitem">
                <CFQUERY DATASOURCE="wigs.mdb">
                INSERT INTO orders ('#SKU#','#name#','#.price#')
                </cfquery>
        </cfloop>       
------------------------------------------------------------------------------
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