Home » Developer & Programmer » Forms » cannot find block
cannot find block [message #80767] Mon, 18 November 2002 13:24 Go to next message
Tyler
Messages: 123
Registered: January 2002
Senior Member
Hello All,

I have a small problem that I just can't figure out... I have this block of code:

IF s_item_type <> 'BUTTON' THEN

s_db_columnNm := GET_BLOCK_PROPERTY(s_block_item,COLUMN_NAME);
s_is_item_visible := GET_ITEM_PROPERTY(s_block_item, VISIBLE);
s_is_insert_allowed := GET_ITEM_PROPERTY(s_block_item, INSERT_ALLOWED);
s_data_type := GET_ITEM_PROPERTY(s_block_item, DATATYPE);

END IF;


every get_item_property here is working, I messaged "s_block_item" and it is giving the correct block_name.item_name, but for some reason s_db_columnNm is erroring and saying Cannot find block! Anyone know why this is... The block is there, the variable is passing the correct block name!!
Re: cannot find block [message #80768 is a reply to message #80767] Tue, 19 November 2002 00:04 Go to previous message
F. Tollenaar
Messages: 64
Registered: November 2002
Member
get_block_property requires a block-name, not an item-name

hth
Frank
Previous Topic: Current Record??
Next Topic: Creating Calendar in Forms
Goto Forum:
  


Current Time: Thu Apr 25 06:06:31 CDT 2024