> > <CFSET Props = StructNew()>
> > <CFSET Props.art_to = "*business*">
> > <CFSET Props.art_bodytext = "*running*">
> > <CFSET Props.art_pretext = art_bodytext>
> > <CFSET FirstOfTheYear = CreateDate(Year(Now(),1,1)>
> > <CFA_CONTENTOBJECTFIND
> >     DATASOURCE="Whatever"
> >      TYPEID="YourType"
> >      STPROPERTIES="#Props#"
> >      DTCREATEDAFTER="#FirstOfTheYear#"
> >      LKEYWORDS="health"
> >      R_STOBJECTS="Results"
> >
> >

>
> I want to search in both art_bodytext and art_pretext for "running".
>
> <CFSET Props.art_bodytext = "*running*">
> <CFSET Props.art_pretext = "*running*">

> If it wasn�t for the art_to property I could do as above and use
> propertiesCriteria(ONE_OR_MORE) but if I use it now I would get all the
> articles in the "business" category.
>

Eh? You should only get the ones with health as a keyword.

Can you rephrase your question? Are you saying:

I want to match objects that have art_to = "*business*" AND (art_bodytext =
... or art_bodytext) ???
In other words, it's ok if bodytext doesn't have running, as long as pretext
has it, and art_to has to have business.


Ray


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to