Home » Developer & Programmer » Forms » get_block_property
icon12.gif  get_block_property [message #420990] Thu, 03 September 2009 10:22 Go to next message
EL-SAYED
Messages: 17
Registered: July 2008
Junior Member
Dear all

my question is
i want to knew the block type through run time, if it control or database block.
what the name of the property to use it in get_block_property();

thank you for your help
Re: get_block_property [message #420998 is a reply to message #420990] Thu, 03 September 2009 11:00 Go to previous messageGo to next message
cookiemonster
Messages: 12321
Registered: September 2008
Location: Rainy Manchester
Senior Member
If you're talking about the Database Data Block property you can't - form builder assumes you already know what it is.
Re: get_block_property [message #421187 is a reply to message #420990] Sat, 05 September 2009 03:06 Go to previous messageGo to next message
EL-SAYED
Messages: 17
Registered: July 2008
Junior Member
Dear cookiemonster

Thanks for your reply

In Other Words
I Want To Do Some Action On Database Block Only
So I Want To Knew The Block Type Through The Run Time.

My Example

if get_block_property(:system.CURSOR_BLOCK,property_name)='TRUE'   
  then 
    .........
end if;



which property can useing

Re: get_block_property [message #421200 is a reply to message #420990] Sat, 05 September 2009 11:07 Go to previous message
cookiemonster
Messages: 12321
Registered: September 2008
Location: Rainy Manchester
Senior Member
As I said already you can't do that. Just put the code in database datablocks only.
Previous Topic: Exception in oracle forms
Next Topic: what is the Forms 10.1.2.3 download site?
Goto Forum:
  


Current Time: Sat Oct 01 14:28:35 CDT 2016

Total time taken to generate the page: 0.11888 seconds