Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

programatically changing schema and properties of components`

Can I, using tJava, change the schema or other properties of tJDBCRow? 

I read a table from tJDBCInput with dynamic column (since I only know the query and connection sting at run time). I need to either insert this data in another table (using some output component) or run a procedure/generic query using the returned fields (which in this case will return only one row).

Since the Row components (and also tJDBCOutput) cant use the dynamic column I need to read it using tJava and the fix the other components some how.

Any solution for this?

Thanks

Labels (4)
3 Replies
fdenis
Master
Master

you ca do this it' working fine.

you can also create insert our update query dynamically to create/update your table first.

regards,

Francois

Anonymous
Not applicable
Author

Thanks for the answer.

Do you happen to have any sample code?

Thanks!

fdenis
Master
Master

I'm sorry I cannot send you samples but it's working I already done it two time.