[ic] inactive field
Aboubacar Diare
sykemo at yahoo.com
Mon Apr 26 20:20:19 EDT 2004
--- "New Media E.M.S." <ic_users at newmediaems.com>
wrote:
> At 03:17 AM 4/26/2004 -0700, you wrote:
>
> >hello all
> >
> >I am trying to filter items I have set to inactive
> >from being displayed during a category search. I
> am
> >using interchange 4.9.8. The amdin page code to
> set
> >the value of the inactive field in the database
> looks
> >like:
> >
> ><select name="inactive" class="s3"><option value=""
> >SELECTED>No<option value="1">Yes</select>
> >
> >This sets the value to "" if the item is set to
> >Active, meaning inactive="no".
> >
> >Thus all active items in the db have nothing set in
> >that field. I would expect this value to be set to
> >zero.
> >
> >Anyways, I am using the following code to try and
> >display all the active items in the category
> >accessories in the db:
> >
> >[page search="
> > sf=category
> > se=Accessories
> >
> > sf=inactive
> > se=1
> > op=ne
> >"]
>
> This needs to be a coordinated search:
>
> [page search="
> co=yes
> sf=category
> se=Accessories
> op=eq
> sf=inactive
> se=1
> op=ne
> "]
>
> - Ed
>
Thanks Ed,
This worked perfect.
Aboubacar.
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
More information about the interchange-users
mailing list