> Raymond Camden wrote:
>
> <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 made the date thing dynamic so it always returns stuff made after the
> first of the current year. Since you wanted pretext the same as bodytext,
I
> did a copy instead of setting both to running. I also used *s to make
stuff
> match partially. If you want exact matches, remove the *s.

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.

Any idea?

Thanks for your help.

--------------------------------------------
Daniel Niklasson                 Resco V�st
Programmerare / Sysadmin

Tel: 031-7439203, Mobil: 0708-903238

Unix *is* user-friendly - It�s just selective who it�s friends are.
--------------------------------------------

�nnu en Rescoproduktion p� webben - Telias nya startsida!
Titta p� www.startsidan.telia.se och njut av m�jligheterna.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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