| By: minimalist Date: 2006-03-25 Time: 09:07 | Row count for subblocksHi, Could you tell me please, how to get the row count for a subblock? The standard form [block.#] doesn't work, because if it outside of the block definition, the field is doesn't merged. For example, from tbs_us_examples_subblock.htm, I've added that 'Row count:' line, where I'd like to know how many rows are there in the subblock 'sb', and unfortunately [sb.#] doesn't merge. ... 
 
 Greets & thanks in advance, minimalist | ||
| By: TomH Date: 2006-03-25 Time: 14:25 | Re: Row count for subblocksSimply use an ondata function approach in the block - make a new globval var that can be used anywhere Ref http://www.tinybutstrong.com/forum.php?msg_id=4819 | ||
| By: minimalist Date: 2006-03-25 Time: 19:13 | Re: Row count for subblocksThank you TomH, I did so and created these. The first function is the ondata function, the second one returns the row count for the correspondent block (for example: [f_getrowcount;id=[sub.id]]). Rather circumstancial, but I will improve it. 
 |