Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating columns dynamically

eno g. - oracleDec 5 2012 — edited Nov 11 2016
Hello,

I'm trying to write an app which contains a table to display data from a file. I want to figure out the number of columns from the data in the file as it may vary. However, it seems like I might have a problem with creating the setter/getter methods for column properties as I wouldn't know before hand how many columns and what they're called so I make use of PropertyValueFactory convenience class as it uses a set string for a parameter.

Any suggestions?

Thanks in advance
This post has been answered by James_D on Dec 5 2012
Jump to Answer

Comments

So that everyone can understand the detail, please provide more info. For example:
Exactly which Forms and Database version are you using? Keep in mind the version number should include the complete number and not something like 11g, 12c. These are not version numbers.
You said you tried the above. What happens when you do? Does an unexpected value get returned? Does nothing happen? Is there an error? And so on...
Any other details about what you are doing and what you expect would be helpful.

user10991018

forms version is forms [32 Bit] Version 11.1.1.7.0 (Production)
oracle database version is
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

what i am trying to do is
insert the data in a temporary table when select a value using checkbox.
so i am storing the value in a comma separated global variable and when i check or uncheck the values should insert in my temp table.
i am using when checkbox changed trigger to select the multi record block rows

  1. eg.
    :global.empid = (120,121,134)
    :emp_chk = ('y','n','y')
    this should insert dynamically using forms_ddl in temp table.
    please advise
    thanks.
sgalaxy

Many 'should' but no 'what happens' when trying to execute the code you've written...

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 2 2013
Added on Dec 5 2012
2 comments
27,758 views