[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] query tag, more condition


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
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.