Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to count number of items in a Block 1

Status
Not open for further replies.

saketbansal

IS-IT--Management
Jul 2, 2003
41
Is there any way to know (at run time) item details of block using some block property or something else.

I want to assign CANVAS to block items dynamically so i need to know the items of block at run time.

I am using FORM 6i.

Regards,
Saket
 
The following built-in should help do what you want:

get_block_property(block_name,FIRST_ITEM) -- Gets the first item in the block

get_block_property(block_name,LAST_ITEM) -- Gets the last item in the block

get_item_property(block_name||'.'||curr_item,NEXTITEM) -- Gets the next item in the block following the given one.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top