Re: Number of records in block

From: Bhaskar Gandavabi <bgandavabi_at_ix.netcom.com>
Date: 1998/03/27
Message-ID: <6fglj3$5q_at_dfw-ixnews2.ix.netcom.com>#1/1


If you want to find the no. of records retrieved by an enter-query/execute-query then
you can use

get_block_property('block_name',query_hits);

But this will not be effective if you delete or add a record after that. As it shows only the no. of records fetched from the database during the last query.

If you did find a way to count the records at any time, not only after query, but also after deletion or addition. Then please post it in the newsgroup.
I am interested too.

Anu

mgumbs_at_hotmail.com wrote in message <6fgdg0$svj$1_at_nnrp1.dejanews.com>...
>Is there a quick way of finding out how many records there is in a block
>without having to resort to
>
>last_record;
>v_num := get_block_property('BLOCK',current_record);
>
>This method takes time especially with stuff in the post-query trigger.
>
>Mark.
>
>-----== Posted via Deja News, The Leader in Internet Discussion ==-----
>http://www.dejanews.com/ Now offering spam-free web-based newsreading
Received on Fri Mar 27 1998 - 00:00:00 CET

Original text of this message