|
Okay,
I obviously need a break and I am now sheepishly
banging my head against the wall. I finally got it to work and the answer was
sooooooo stupid. The data was not in any order from the search. I took the
search and ordered it by category and BINGO - it works just fine. Sorry for the
posts and my idiotic mistake.
From: Ben Johansen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 12:40 PM To: [email protected] Subject: Re: Witango-Talk: Creating an index i mean your going to need to do a order by col1 asc, col2 asc in the seach
so that this technique works.
you also might want to try quoting the values in the @IF
<@if expr="'<@col num=1>' != '<@VAR
header>'">
I prefer the method Robert G
suggested where you create a index on col1 and then look up col2 within
that
just MHO and 1.92323
cents
Ben
On Oct 12, 2006, at 10:30 AM, WebDude wrote: Sorry, but I still need help!
Don't know why, but for some reason I cannot get this to
work. What is really ticking me off is that I have done this before and I just
can't find my snip. In fact, I used this method to show a list of authors in
alpha order using the first letter of the last name as the header and skipping
all letters with no authors - ie...
A
John Anderson
Jim Albert
Frank Alpha
B
John Bart
Jim Burt
Frank Bub
etc. etc.
I am doing a db call and searching Category and Title
(in that order)... This is what I have so far using Win2k Witango 2000 (could
this be an issue?)..
<@assign
header value=""> <@rows array=test> <@if expr="<@col num=1>!=<@VAR header>"> <@assign header value="<@col num=1>"> <b><@VAR header></b><br> </@if> <@col num=2><br> </@rows Should
be simple but I am just not seeing... I need a fresh set of
eyes...
From: Alan Wolfe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 11, 2006 2:20 PM To: [email protected] Subject: Re: Witango-Talk: Creating an index Sure, this uses h1's for categories and h3's for subjects just to keep
things simple (:
<@assign local$header value="">
<@rows array=local$MyArray>
<@if expr="<@col num=1>!=@@local$header">
<@assign local$header value="<@col num=1>">
<h1>@@local$header</h1>
</@if>
<h3><@col num=2></h3>
</@rows>
On 10/11/06, WebDude
<[EMAIL PROTECTED]>
wrote:
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Witango-Talk: Creating an index WebDude
- Re: Witango-Talk: Creating an index Alan Wolfe
- RE: Witango-Talk: Creating an index WebDude
- Re: Witango-Talk: Creating an index Alan Wolfe
- RE: Witango-Talk: Creating an index WebDude
- Re: Witango-Talk: Creating an index Alan Wolfe
- Re: Witango-Talk: Creating an index Ben Johansen
- RE: Witango-Talk: Creating an inde... WebDude
- Re: Witango-Talk: Creating an ... Alan Wolfe
- Re: Witango-Talk: Creating an ... Ben Johansen
- Re: Witango-Talk: Creating an index Robert Garcia
- Re: Witango-Talk: Creating an index Robert Garcia
- Re: Witango-Talk: Creating an index John McGowan
