# Clearing a dataset?

**URL:** <https://forum.inductiveautomation.com/t/clearing-a-dataset/6354>\
**Category:** Ignition\
**Created:** [April 30, 2013, 10:28pm UTC](https://forum.inductiveautomation.com/t/clearing-a-dataset/6354 "2013-04-30T22:28:22Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![manjuyadav95.m](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@manjuyadav95.m](https://forum.inductiveautomation.com/u/manjuyadav95.m)\
**Post date:** [October 29, 2021, 1:34pm UTC](https://forum.inductiveautomation.com/t/clearing-a-dataset/6354/9 "2021-10-29T13:34:52Z")

</div>

I want to display a message when no data on table component, something like below but it’s not working, plz let me know how to mention for table if nodata

```auto
if (LotId!="" or MatlAutoId!=None) and vtable==dataset[0x6]:
		self.props.emptyMessage.noData.text="No Data Found"
		self.props.emptyMessage.noData.icon.path=material/sentiment_very_dissatisfied
	else:
		pass

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/clearing-a-dataset/6354)._
