Home » Developer & Programmer » Forms » possible to check item_instance_property? (forms 10g)
possible to check item_instance_property? [message #470587] Tue, 10 August 2010 04:42 Go to next message
ahazin
Messages: 39
Registered: August 2010
Member
hi, im just wondering how I would tackle the problem of checking the item_instance_property of a checbox.

I know you can set a property by doing:

set_item_instance_property('mytable.item_name',Current_record,UPDATE_ALLOWED,property_False);

now i want to be able to check if update allowed is set to false and if so then get my program to do something. How would this be done, if it is possible.

Thank you.
Re: possible to check item_instance_property? [message #470594 is a reply to message #470587] Tue, 10 August 2010 04:58 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
GET_ITEM_PROPERTY?
Re: possible to check item_instance_property? [message #470605 is a reply to message #470594] Tue, 10 August 2010 05:17 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
I take it get_item_instance_property didn't occur to either of you?

If I didn't know it existed anyway it'd be my first guess.
Re: possible to check item_instance_property? [message #470618 is a reply to message #470605] Tue, 10 August 2010 05:55 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Well, I really should a) read questions more carefully, b) buy new spectacles.
Re: possible to check item_instance_property? [message #470645 is a reply to message #470618] Tue, 10 August 2010 06:46 Go to previous messageGo to next message
ahazin
Messages: 39
Registered: August 2010
Member
Thanks, both of you for your input. It works perfectly now.

Re: possible to check item_instance_property? [message #470655 is a reply to message #470645] Tue, 10 August 2010 06:57 Go to previous message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
Ahazin I really strongly suggest you spend some time reading the online help in form builder.
It's incredibly comprehensive and you would have found this from a search in a lot less time than it took for me to tell you.
Previous Topic: how to create the relation of two forms on 6i
Next Topic: Populate Record in List Item
Goto Forum:
  


Current Time: Thu Sep 19 13:08:52 CDT 2024