Hello,
I have synchronized both the inputs from the below post, but now the problem here is.
https://powerusers.microsoft.com/t5/General-Discussion/show-rows/m-p/129787#M45286
1. When i click on Add new item or button new row will be added but with the same first value entered.
2. Rows are not cleared when i click on button its added new row with old values, when i click on button new row with empty boxes should be avaliable.
3. I have used this code in the button, but i have found there something missing perhaps i couldnt find out what is missing Patch(ProjectC,{Name:TextInput2.Text,Actual:Value(TextInput3.Text),Cost:dropdown2.Selected.Value});Collect(ProjectC, {Name:"",Actual:"",Cost:""})
If i use like this Patch(ProjectC,First(ProjectC),{Name:TextInput2.Text,Actual:Value(TextInput3.Text),Cost:dropdown2.Selected.Value});Collect(ProjectC, {Name:"",Actual:"",Cost:""}) with the highlighted one it will add new row with no values, if i remove and press the button " The Data source supplied to the function is invalid".
4. If i use First() the values from the second row are replacing to first row. Or if i use like this it will patch only last record.
What i need, Click on add new item new blank rows gets added and input values on second row and so on. i need to collect all the items from the gallery. Not only last record or first record.
ForAll(Gallery1.AllItems,Patch(ProjectC,{Name:Name},{Name:TextInput2.Text,Actual:Value(TextInput3.Text),Cost:Dropdown2.Selected.Value});Collect(ProjectC, {Name:"",Actual:"",Cost:""}))
Well if you could help me on this one, would be appreciated!
Thanks and Regards,
Nikhil