# Question about StoreCsv command

**URL:** <https://forum.katalon.com/t/question-about-storecsv-command/32958>\
**Category:** Web Testing\
**Tags:** katalon-recorder\
**Created:** [September 11, 2019, 5:28pm UTC](https://forum.katalon.com/t/question-about-storecsv-command/32958 "2019-09-11T17:28:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hein](https://avatars.discourse-cdn.com/v4/letter/h/b2d939/32.png) [@hein](https://forum.katalon.com/u/hein)\
**Post date:** [September 11, 2019, 5:28pm UTC](https://forum.katalon.com/t/question-about-storecsv-command/32958/1 "2019-09-11T17:28:55Z")

</div>

Hi there,

This is what I’m trying to do:  
 ![Screenshot_97](https://europe1.discourse-cdn.com/katalon/original/2X/6/643e5cf38e9b4770fb44df4c8c14e00ad44ad432.png)

However, it gives me an error on the last line: " [error] TypeError: Cannot read property ‘voornaam’ of undefined".

It seems as if using variable ‘b’ (which has a random number stored in it, see line 2) is not a valid way of determining the row on which StoreCsv has to look. Is my assumption correct, am I doing something wrong or is this a bug?

Let me know if you need more information. Thanks in advance!

PS: If someone knows another way of picking a random value from a column in a csv then please let me know.

---

<div class="post-metadata">

**Author:** ![Piotr](https://avatars.discourse-cdn.com/v4/letter/p/839c29/32.png) [@Piotr](https://forum.katalon.com/u/Piotr)\
**Post date:** [September 18, 2019, 2:19pm UTC](https://forum.katalon.com/t/question-about-storecsv-command/32958/2 "2019-09-18T14:19:41Z")

</div>

Hi, in storeEval command you should use just b not ${b}, because now your variable name is ${b}.

${x} format is used to tell Katalon that you don’t wan’t letter x but you mean value from variable x

---

<div class="post-metadata">

**Author:** ![hein](https://avatars.discourse-cdn.com/v4/letter/h/b2d939/32.png) [@hein](https://forum.katalon.com/u/hein)\
**Post date:** [September 18, 2019, 2:38pm UTC](https://forum.katalon.com/t/question-about-storecsv-command/32958/4 "2019-09-18T14:38:58Z")

</div>

Of course, that’s actually pretty obvious! It worked 😄

Thanks a lot Piotr!
