Oracle Forms 10g: How to add/remove objects to/from an ArrayList?


 1) How to create an Arraylist in Oracle Forms 10g ? It can be a common (dynamic) Array like ArrayList in Java or even a fixed length double[] array.

 2) How can I add / remove items to / from an ArrayList ?

3) What is the best practice to avoid a duplicated key in this list ? In this case the list is similar to HashMap in Java.

Please, answer my other questions related to Oracle Forms 10g:

Thanks for all answers.

Best Regards,
Who is Participating?
Helena Markováprogrammer-analystCommented:
If a record group type is Query then you can use DISTINCT in select statement when the group is populated. If it cannot be done then you can loop through record group and search if new item exists in it.
Helena Markováprogrammer-analystCommented:
I would use a record group. All about it you can find in the on-line help: "About Record Group Built-in Subprograms" topic.
If there would be any questions then ask.
jocafiAuthor Commented:
Thanks Henka,

 number 1 and 2 are answered. How about the item 3?

jocafiAuthor Commented:
Thanks !
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.