Home » Developer & Programmer » Forms » disable text items in enter_query mode
icon9.gif  disable text items in enter_query mode [message #217544] Fri, 02 February 2007 12:54 Go to next message
nina.camille
Messages: 4
Registered: June 2006
Location: Trinidad
Junior Member
Hi,

I need to set a default value in a text field and restrict users from modifying the value. This value is used as query criteria. I have tried to disable the text field before the form is set in enter_query mode but the item is being enabled after 'ENTER_QUERY' statement. Any ideas on what I can do? I am using Forms6i. Thanks for you help.

Nina
Re: disable text items in enter_query mode [message #217908 is a reply to message #217544] Tue, 06 February 2007 01:16 Go to previous messageGo to next message
shakti_goyal
Messages: 60
Registered: November 2006
Location: India
Member


Use PRE-BLOCK-TRIGGER and use set_item_property() Built-in to set the property of text time [item?] in Enter Query mode.......

Shakti

Upd-mod: Item?

[Updated on: Tue, 06 February 2007 04:50] by Moderator

Report message to a moderator

Re: disable text items in enter_query mode [message #217987 is a reply to message #217544] Tue, 06 February 2007 05:19 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try making the field a display only item and give it a default value.

David
Previous Topic: how to use visual attributes
Next Topic: Text_io
Goto Forum:
  


Current Time: Fri Sep 20 15:24:12 CDT 2024