# Deleting a Record in a temp table via the Data tab

**URL:** <https://community.dreamfactory.com/t/deleting-a-record-in-a-temp-table-via-the-data-tab/3595>\
**Category:** Feature Requests, Bugs, Issues\
**Created:** [January 19, 2017, 7:28pm UTC](https://community.dreamfactory.com/t/deleting-a-record-in-a-temp-table-via-the-data-tab/3595 "2017-01-19T19:28:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jraiche](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jraiche](https://community.dreamfactory.com/u/jraiche)\
**Post date:** [January 19, 2017, 7:28pm UTC](https://community.dreamfactory.com/t/deleting-a-record-in-a-temp-table-via-the-data-tab/3595/1 "2017-01-19T19:28:37Z")

</div>

Hi,

I’m not sure how much of this information is relevant, but I believe we’ve found a bug.

Behavior: unable to delete record using the data tab in the admin.  
Error:

> DreamFactory Table Module  
> array\_key\_exists() expects parameter 2 to be array, string given

The table is a temp table that is recreated with the same schema regularly via a drop/recreate process. CRU operations in the data tab work. Delete via the API docs works, but deleting via the data tab does not work.

This is a MS SQL server.

Thanks,  
Josiah

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [January 20, 2017, 4:01pm UTC](https://community.dreamfactory.com/t/deleting-a-record-in-a-temp-table-via-the-data-tab/3595/2 "2017-01-20T16:01:57Z")

</div>

What version of DreamFactory?

---

<div class="post-metadata">

**Author:** ![jraiche](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@jraiche](https://community.dreamfactory.com/u/jraiche)\
**Post date:** [January 20, 2017, 7:02pm UTC](https://community.dreamfactory.com/t/deleting-a-record-in-a-temp-table-via-the-data-tab/3595/3 "2017-01-20T19:02:37Z")

</div>

Some relevant versions:

Admin Application Version: 2.4.2  
DreamFactory Version: 2.4.1  
PHP Version: 7.0.13  
Version: build 9600 (Windows Server 2012 R2 Datacenter Edition)  
dreamfactory/df-sqlsrv 0.6.1 // I assume that’s MS-SQL

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [January 20, 2017, 8:48pm UTC](https://community.dreamfactory.com/t/deleting-a-record-in-a-temp-table-via-the-data-tab/3595/4 "2017-01-20T20:48:41Z")

</div>

Confirmed bug. I will file it. Thanks.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [January 26, 2017, 1:26pm UTC](https://community.dreamfactory.com/t/deleting-a-record-in-a-temp-table-via-the-data-tab/3595/5 "2017-01-26T13:26:56Z")

</div>

For the sake of reference, this is DF-991
