Home » Developer & Programmer » Forms » How to Dynamically change the List elements.
How to Dynamically change the List elements. [message #138813] Sat, 24 September 2005 00:55 Go to next message
gopichandk
Messages: 2
Registered: September 2005
Location: Dubai
Junior Member
hi guys,

I have a text item and a list item(pop list) in my form.
what I need to do is, When the user Types value 'A' in the text item then I need to show the list item with values 'A','B','C' and if the user types 'B' then I need to show the list item with values 'D','E','F','G' ... etc.

I tried to create 2 seperate record groups andclear the list,find the record group and then populate the list based on the value in TEXT ITEM but it does'nt work.It throws FRM-41331 error.

Any suggestions please.

Thanks In Advance.
Re: How to Dynamically change the List elements. [message #138834 is a reply to message #138813] Sat, 24 September 2005 05:21 Go to previous messageGo to next message
kiran
Messages: 503
Registered: July 2000
Senior Member
you get this error when you tried to delete a default element from the list item.

So use CLEAR_LIST(whcih wont delete default value) and try adding other elements using ADD_LIST_ELEMENT.

--Kiran.
Re: How to Dynamically change the List elements. [message #138886 is a reply to message #138834] Sat, 24 September 2005 23:46 Go to previous messageGo to next message
gopichandk
Messages: 2
Registered: September 2005
Location: Dubai
Junior Member
Hi kiran,

Thanks for your reply. I am doing the same thing. Iam using clear_list only .. but still it gives the same error.

rgds,
gopichand.
Re: How to Dynamically change the List elements. [message #138895 is a reply to message #138813] Sun, 25 September 2005 03:42 Go to previous message
kiran
Messages: 503
Registered: July 2000
Senior Member
In that case try with DELETE_LIST_ITEM and delete all the elements other than default value.

--Kiran.
Previous Topic: ora-12571 TNS Packet Writer Failure message from Forms 6i
Next Topic: ....... Error when first selecting from LOV...
Goto Forum:
  


Current Time: Fri Sep 20 01:44:50 CDT 2024