[ic] loop search diff's 3.14- Interchange
Tue, 7 Nov 2000 10:46:31 -0800
After a small wrestling match to upgrade to 4.6.0 , I am still having the
same trouble with this simple loop search on my flypage.
As I related below, on the old store (3.14 mvend) this loop search on the
flypage returned both field 1 and field 2 in a list. When I put it into the
new store (now Interchange 4.6.0) it only returns field 1.
I have tried without the dict_look, ie se=[item-code] and sf=0.
I can only get the loop code tag to return anything. It returns field 1, I
have rf=1,2 and if I change that to rf=2, then the [loop-code] returns field
2. I had this type of trouble before on earlier catalogs, and the problem
was that the database was not defined, so would not return fields other than
[loop-code]. I have the techspec file defined in the catalog.cfg:
Database techspec techspec.txt TAB (although in my old catalog this is
I have tried several name combinations in the [loop-data techspec somefield]
tag, (including [loop-data techspec field2][loop-data techspec 2][loop-field
2] and more) which I believe should be the proper tag here, but to no avail.
I am guessing I need to define something differently, perhaps in the
catalog.cfg, but cannot put my finger on it.
Again, any help is greatly appreciated. Thanks to Delionsweb for earlier
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com]On Behalf Of delionsweb -
> Sent: Monday, November 06, 2000 11:43 AM
> To: firstname.lastname@example.org
> Subject: Re: [ic] loop search diff's 3.14- Interchange
> I know!!
> I have no prior miniVend experience and jumped in at IC4.5.6 but here are
> two ideas that apply to your question (both learned from other posts ;-))
> 1. There was a flypage related bug that was fixed but you have to get the
> latest version of a Perl module to fix that. (and you'll likely have to
> upgrade to the latest = 4.6.0 first) See the post with the subject "Re:
> [ic] Flypage Problems"
> 2. I butted heads with that [loop search-"..."] just last night!
> I ended with (adapted for your case w/o testing):
> [loop search="
> "][loop-data techspec field1][loop-data techspec field2]
> This does not deal with the item1 etc. parts but I think this
> might put you
> on the right track to make it work ...
> At 02:13 PM 11/6/00, you wrote:
> >Hi all,
> >I am having some trouble moving one of my stores from 3.14 to Interchange
> >4.58. In particular I have the following on my flypage on the old store:
> >[loop search="
> > fi=techspec.txt
> > dl=[item-code]
> > di=-1
> > rf=1,2
> > "][loop-code]
> >and it returns a list (technical specifications for the item in question)
> >with both fields 1 and 2. for example:
> >field1item1 field2item1
> >field1item2 field2item2
> >field1item3 field2item3
> >and so on.
> >However, when I put the same code in the new store, it only
> returns field 1.
> >The list returned is further processed in a perl statement, so I
> need both
> >fields returned. The fields are not named, so I have tried adding
> >[loop-data techspec 2] after the [loop-code]. (techspec is defined as a
> >database) No luck. Any help would be greatly appreciated.
> >Greg Hanson
> >2445 NE Division
> >Waterside Bldg, Suite 303
> >Bend, OR 97701
> >Toll Free 1-877-631-2888
> >Phone 1-541-388-0100
> >Fax 1-541-388-0200
> >URL http://www.valuemedia.com
> >Interchange-users mailing list
> Interchange-users mailing list