20
Views
1
Comments
how to iterate a list of records and insert into data base one record at a time
Application Type
Traditional Web

Hi Team,

I have traditional web screen with a an aggregate showing a list of records in the screen, and I need to iterate the total list of records showing on my screen and need to insert each record into oracle data base. Could you please help me a sample implementation or any reference link . Thanks in advance.

Regards,

Madhu

Rank: #70

Hi Madhu,


You can access your table records / list by their name, for instance, see in the example below the name of my table is TemplateTable :


Then on screen action, you can use the For Each to iterate on that table and insert the record in the Database using the Create CRUD action from your entity, in my case, I'm creating Template so it is the action CreateTemplate:


Hope it helps.


Regards,
João