Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Can't search by product code??



******    message to minivend-users from Ed LaFrance <newmedia@newmediaems.com>     ******

At 02:49 PM 4/15/00 +0200, you wrote:
>******    message to minivend-users from "Gideon van Gelder" 
><gideon@swingmaster.nl>     ******
>
>
> > We're still running MiniVend version 3.14 on BSDI. I'm trying to set
> > up a search to find special product codes and discovered that I
> > can't search by product code at all! Here's the error I get:
> >
> > =====
> > computer.snowcrest.net wdLxoJA4:snowcrest.net -
> > [14/April/2000:13:38:13 -0700] catalog25
> > /cgi-bin/catalog25/scan/mp=davesdeals/va=sortby=description Bad
> > search column 'code'
> > =====
> >
> > I don't understand. The name of the first column is "code", just as
> > the name of my description column is "description". This is the code
> > on my page:
> >
> > =====
> > [set davesdeals]
> >     mv_searchspec=SPECIAL
> >     mv_search_field=code
> >     mv_sort_field=description
> >     mv_sort_option=n
> >     mv_orsearch=no
> >     mv_matchlimit=20
> > [/set]
> > ...
> > [page scan mp=davesdeals/va=sortby=description]...[/page]
> > ...

I have specified "code" as a search field when searching files other than 
products successfully.  Perhaps with the products file (and in all cases in 
general) it will work better if you specify the column number instead:

         mv_search_field=0

- Ed L.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| New Media E.M.S.		Software Solutions for Business |
| 12831 Blanco Ct.		Consulting			|
| Poway, CA  92064  U.S.A.	Custom Programming		|
| 858-486-6508			Internet and eCommerce		|
| 630-604-4265 eFax						|
| newmedia@newmediaems.com					|
| http://www.newmediaems.com					|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: