Hi All,
I have form which displays name . Gallery to display module records which will be added based on user request(Add row has been implemented using collection concept). In my case, name will be static for all the row of records and modules count will get increased based on user request.

Here is should get the response like,
Col_Name - Title Module Activity No of Lines
Row 1 - Test Title Order Rec. Order Rec. 4
Row 2 - Test Title Part Ordering Order Batch wise 2
But below is the response , i am receiving,

Here is code written on Submit button,
ForAll(
Gallery3.AllItems As A,
Patch(
'SP_List',
Defaults('SP_List'),
{
Title: Title_Value.Text,
Module: Module_Dropdown.Selected.Result,
Activity: Activity_Dropdown.Selected.Result,
'No of Lines': Value(Lines.Text)
}
)
);
ResetForm('User Form');
Below is code used to add rows,
Collect(
CollItems,
{
CNumber:Text(Last(CollItems).CNumber +1)
}
)
Mapped this "CollItems" in Item property of gallery.
Could anyone please help on this?