Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logical Field Update Problem

Status
Not open for further replies.

eagle1wi

MIS
Nov 28, 2000
12
US
I am getting the 37000 ODBC error. I have narrowed it down to my logical fields.
What is the correct syntax for updating a logical value via ODBC?

I am inserting using a form variable.
I have tried to insert T, TRUE, YES, Y, 1 and nothing seems to work.

I am using Cfquery and have tried single and no quotes.

Thanks in advance for any input.

Craig
 
this is what I have used to update field and it worked fine:

<cfquery name=&quot;allTables&quot; datasource=&quot;dbn&quot; dbtype=&quot;ODBC&quot;>
UPDATE Table1
SET unchecked = true;
</cfquery> Sylvano

dsylvano@hotmail.com
 
That syntax didn't work for me.
It is probably my database.
Does anyone have any CF experience with Dbase, FoxPro or similar? I seem to only have an issue with logical fields.

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top