This is a multi-part message in MIME format.
------=_NextPart_000_0023_01C01C15.7C2D2C00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
You need to add a wildcard(either an _ or %) in the single quotes around =
the search text.
try this.
<CFSET t2=3D"subject like 'test%' ">
<CFQUERY NAME=3D"GetLastest" DATASOURCE=3D"Info">
select * from tblmessages where #t2#=20
</cfquery>
FWA
------=_NextPart_000_0023_01C01C15.7C2D2C00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You need to add a wildcard(either an _ =
or %) in the=20
single quotes around the search text.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>try this.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><CFSET t2=3D"subject like 'test%' "></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><CFQUERY NAME=3D"GetLastest" DATASOURCE=3D"Info"><BR>select * =
from=20
tblmessages where #t2# <BR></cfquery><BR></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>FWA</FONT></DIV></BODY></HTML>
------=_NextPart_000_0023_01C01C15.7C2D2C00--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.