Add row end of datatable

Hello friends,
@rkelchuri, @Ninett_Panfir, @Rammohan91, @balupad14, @Florent_Salendres, @vvaidya, @Palaniyappan, @ClaytonM, @vvaidya

how is it possible to append a row to a datatable already created, after the last full row?
I want to add the row at the end of the datatable.
Thank you,
Cami

1 Like

Hi
Cami @CamiCat
yes ofcourse with datatble NewRow in Datarow property in add data row activity

Cheers @CamiCat

1 Like

Can you please detail the steps @Palaniyappan?
thank you,
camil

1 Like

Sure
–in activity add data row along with datarow property mention like this
Yourdatatablename.NewRow

and mention the datatable name datatable property

Cheers @CamiCat

1 Like

Thank you so much @Palaniyappan.
And to insert the values in this new datarow?
Thank you,
Cami

1 Like

No worries
–create a new add datarow activity and
–based on the number of columns we can pass that much number of values between double quotes (if string) or as variables in ARRAY ROW property of ADD DATA ROW Activity
along with that mention the datatable name and change the type argument based on the type of array been used

you are almost done
Cheers @CamiCat

1 Like

did that work buddy
cheers @CamiCat

1 Like

no :frowning:


how can i do that?
thank you,
Cami :slight_smile:

1 Like

no any one argument only buddy
–fine remove the datarow property value and mention only the arrayrow and datatable anyhow it will create a new row at last only
Cheers @CamiCat

1 Like

An dhow to update the values of that row?
Cami

1 Like

Come again once buddy, i didnt get that
Cheers @CamiCat

1 Like

Once I have created the new row in the datatable, how can i set the values of that row created?
Thank you,
Cami

1 Like

Okk
fine whenever add data row activity is used it will create a new row even without mentioning the Datatablename.NewRow
–so here in our activity we have mentioned the value to be passed along ArrayRow property within curly brackets {value1,value2,…}
and mention the datatable named to which these values are to be passed

–make sure that the number of values or variables passed should be equal to number of columns in the datatable

hope this answers your question :slight_smile:
Cheers @CamiCat

1 Like

so were we able to accomplish this buddy
Cheers @CamiCat

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.