# Error when adding to keyed table

**URL:** <https://forum.kx.com/t/error-when-adding-to-keyed-table/11628>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [October 28, 2017, 6:26pm UTC](https://forum.kx.com/t/error-when-adding-to-keyed-table/11628 "2017-10-28T18:26:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Chacko](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@J\_Chacko](https://forum.kx.com/u/J_Chacko)\
**Post date:** [October 28, 2017, 6:26pm UTC](https://forum.kx.com/t/error-when-adding-to-keyed-table/11628/1 "2017-10-28T18:26:00Z")

</div>

Hello Could someone help me figure out what is going on here please.

//make table

tbl:([keyed:()]col2:();col3:())

//adding to table like this doesnt work

`tbl insert (1;enlist “boo”; 2)

//but adding like this works&nbsp;

`tbl insert (1;2;enlist “boo”)

Thanks
