[ic] query tag, more condition
Gert van der Spoel
gert at 3edge.com
Fri Jun 30 06:08:20 EDT 2006
Andrew N writes:
> Hello.
>
> When using the query tag with the more option, is there a way I can
> tell if there are more results than my ml are going to be returned and
> check that in a condition?
>
> I know that I could issue a separate sql command with a count(*) and
> than check that number, but I want to avoid the overhead of issuing a
> separate query.
Not sure what you want to achieve with the information, but perhaps the
following:
[tmp havemore][more][/tmp]
[if scratch havemore]
Yes we have more
[else]
No we don't have more
[/else]
[/if]
CU,
Gert
More information about the interchange-users
mailing list