[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] query built tabbed display... looking for "do once" tag
Quoting Paul Jordan (paul@gishnetwork.com):
>
> Hi guys,
>
> I built a tabbed-display from a query. I initiate the tabs by generating
> it with a [prefix-change] area, thus creating tabs for my 'vendor'
> column. This works fine but in this, and other areas, but I always run
> into this little ceveat that always negs me as being a inefficient hack.
>
> In short, I was wondering if there was a way to have a block of code
> only show once within an iteration, without using a continual
> comparison.
>
You can have multiple [PREFIX-change] things and test for a fixed
condition.
I do
[sql-change 2][condition]1[/condition]
Some stuff at the top
[/sql-change 2]
quite a bit.
You can also do a [sql-on-match] thing at the top, and at the bottom.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon