Hello all,
I have another problem I need help with. So What I am wanting to do is export a table to Excel automatically. I want to do a number of steps with the click of a button.
I currently have three Tables
1. Products
2. Languages
3. Translations Full
So I want to select a Product with a drop down box and click a button. I want this button to make a multiple tables. These tables will be a table of the given product selected and each language as their own table. The table will contain values ENG, ID, CurrentTranslation. These values will be taken from the Translations Full table.
So basically I will be filtering Translations Full by a given product and then I will want a function that will loop through each language and create appropriate tables(Use Languages table to create criteria for loop?). I would like the tables to be names Product_Language(depending on product and language used to make table)
Next Once all the tables are created for the selected Product I will want it to automatically export each of those tables to Excel and have them saved in a certain file destination. After all tables are exported I then want the Table to be deleted so clutter of tables does not build up.
It might be better to Export and Delete once the Table is first created instead of creating all tables and then doing those steps.
Could anyone help with coding this as this is way above my head?
If unclear please ask. I am also able to link my database if it would be useful to have.
Thanks For Any Help!
I have another problem I need help with. So What I am wanting to do is export a table to Excel automatically. I want to do a number of steps with the click of a button.
I currently have three Tables
1. Products
2. Languages
3. Translations Full
So I want to select a Product with a drop down box and click a button. I want this button to make a multiple tables. These tables will be a table of the given product selected and each language as their own table. The table will contain values ENG, ID, CurrentTranslation. These values will be taken from the Translations Full table.
So basically I will be filtering Translations Full by a given product and then I will want a function that will loop through each language and create appropriate tables(Use Languages table to create criteria for loop?). I would like the tables to be names Product_Language(depending on product and language used to make table)
Next Once all the tables are created for the selected Product I will want it to automatically export each of those tables to Excel and have them saved in a certain file destination. After all tables are exported I then want the Table to be deleted so clutter of tables does not build up.
It might be better to Export and Delete once the Table is first created instead of creating all tables and then doing those steps.
Could anyone help with coding this as this is way above my head?
If unclear please ask. I am also able to link my database if it would be useful to have.
Thanks For Any Help!