Home » Developer & Programmer » Forms » planting a defult value (6i)
planting a defult value [message #394660] Sun, 29 March 2009 11:46 Go to next message
Messages: 14
Registered: May 2008
Junior Member
i want to plant a defult value in a list item.
i used the trigger WHEN-NEW-RECORD-INSTANCE on the block where the item is and i wrote this 2 lines

:doc.type := 'X';

and i got the defult value i want but when i press on the execute_query button the system mode doesnt change to query mode.
what have i done wrong??????????

please help me
Re: planting a defult value [message #395547 is a reply to message #394660] Wed, 01 April 2009 18:11 Go to previous message
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
You can not disable the current item.

You do not need to have an item enabled to assign a value to it. Enabling and disabling an item only stops the user from navigating to that item.

Previous Topic: Java bean
Next Topic: File uploading from client side through forms 6i
Goto Forum:

Current Time: Mon Oct 24 21:20:58 CDT 2016

Total time taken to generate the page: 0.10115 seconds