First of all, I apologize for my bad English.
I filtered the string outputs with replace command and I want to print it to excel file with write range workbook activity but I get the error in the picture, how can I fix it?
thank you in advance.
First of all, I apologize for my bad English.
I filtered the string outputs with replace command and I want to print it to excel file with write range workbook activity but I get the error in the picture, how can I fix it?
thank you in advance.
In your case after Extract Table Data activity take For Each Row in Data Table activity in this take Assign activity as
CurrentRow("Column")=CurrentRow("Column").ToString.Replace("TL","")
After that take Write Range Workbook activity
Note: After Extract Table Data activity no need to take Write Range Workbook activity, Read Range Workbook Activity and Output Data Table activity.
I hope you understand!!
I apologize for my late reply I use translate to understand. I tried the same thing as you but I get the error in the picture.
Is this the expression you want?
No, assign activity expression
Show the expression what you have give in the save to and value field in assign activity.
I think you have missed with some double quotes or you haven’t given .toString to make it string @emir_ozsimsir.
Check the double quotes and concatenation +.
Hope it helps!!
Both left and right side expressions of assign activity
as you are using C# the syntax is: CurrentRow[“Fyat…”]…
If you are using C# then please try this
CurrentRow[“Fiyat”] = CurrentRow[“Fiyat”].ToString().Replace(“TL”, “”)
Okay @emir_ozsimsir
Just delete the assign activity and reinitialize the assign activity and values.
I think you are using c# in this project.
Then try to replace the curve braces with square braces.
CurrentRow[“Fyat”] in left side of assign
CurrentRow[“Fyat”].ToString.Replace(“TL”, “”) in right side of assign.
As per the error 1st line once check the data table variable. Read range workbook activity output variable you have to give in for each row in data table activity.
thanks to everyone for help, problem solved.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.