Home » Developer & Programmer » Forms » Forms LOV
Forms LOV [message #157263] Wed, 01 February 2006 05:39 Go to next message
Safeeq.S
Messages: 100
Registered: October 2005
Location: Bangalore
Senior Member

Hi,
I have a text item called project name, which is attached to a LOV.If i change the project name from 'A' to 'B' , the other text items in the form should get cleared.
which trigger should i have to use??

Re: Forms LOV [message #157267 is a reply to message #157263] Wed, 01 February 2006 05:51 Go to previous messageGo to next message
Safeeq.S
Messages: 100
Registered: October 2005
Location: Bangalore
Senior Member

I hope we need to write the code to clear the other text items in When_Validate_item.
But i didnt know how to accomplish it?
can anyone tell me the built-in we need to use it , with an example
Re: Forms LOV [message #157275 is a reply to message #157263] Wed, 01 February 2006 06:38 Go to previous messageGo to next message
vban2000
Messages: 207
Registered: March 2005
Senior Member
Hi Safeeq

if its a list item, you could use the trigger called: when-list-changed

if its a text item, I would properly recalled the value using either a parameter or global parameter. and as you said using when-validate-item to clear the other text items.

Hope this helps..

Regards
AnDy
Re: Forms LOV [message #157280 is a reply to message #157263] Wed, 01 February 2006 06:59 Go to previous messageGo to next message
Safeeq.S
Messages: 100
Registered: October 2005
Location: Bangalore
Senior Member

Yeah, im clearing the text items in the when_validate_item trigger and it looks like working fine.

Now i need to clear the block details also.while clearing the text items, i will need to clear the detail block also.
i tried writing the clerar_block along with cl;earing text items but its not working fine.

Re: Forms LOV [message #157298 is a reply to message #157263] Wed, 01 February 2006 07:59 Go to previous message
vban2000
Messages: 207
Registered: March 2005
Senior Member
No idea.. Embarassed properly need to experimenting with other triggers...

you cannot do a go_block('detail') in the when_validate_item. and hence to clear the right block..

regards
AnDy
Previous Topic: Transfer data from forms6i to excel & image item (merged)
Next Topic: exe
Goto Forum:
  


Current Time: Fri Sep 20 03:46:17 CDT 2024