Hello!
I am trying to indicate a certain value in a variable that is equal to the value of a column in a CSV file.
Can i do it using a command like this?
Assign:
Var1 = table.select(“[data] = d1”)
Where d1, in the expression above, is the value of another variable?
Thanks!!
@Gustavo_Lopes What do you want to store in confData1 variable ?
1 Like
Hi @Gustavo_Lopes
If “d1” is variable and not the direct value and also if you are trying to achieve that the value in variable “d1” is present in the datatable having columnName as “data”
Then it can be done in following way :-
dt.Select("[data]='"+d1+"'")
Mark as solution and like it if this helps you
Happy Automation
Best Regards
Er Pratik Wavhal
2 Likes
Pratik_Wavhal:
"[data]='"+d1+"'"
Thanks a lot, Patrick. It solves my issue!
@supermanPunch
i´m trying to set a variable that is get in a txt file. Then i try to find that information in a csv file.
The answer from @Pratik_Wavhal solve my problem.
Thanks a lot for the support
1 Like
Hi @Gustavo_Lopes
You are welcome
I have also learnt many more things from @supermanPunch
Happy Automation
Best Regards
Er Pratik Wavhal
2 Likes
system
(system)
Closed
August 13, 2020, 3:21pm
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.