# Suppress Error Messages at Design Time

**URL:** <https://forum.inductiveautomation.com/t/suppress-error-messages-at-design-time/34909>\
**Category:** Ignition\
**Created:** [May 20, 2020, 11:38am UTC](https://forum.inductiveautomation.com/t/suppress-error-messages-at-design-time/34909 "2020-05-20T11:38:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Lee](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@Kevin\_Lee](https://forum.inductiveautomation.com/u/Kevin_Lee)\
**Post date:** [May 20, 2020, 11:38am UTC](https://forum.inductiveautomation.com/t/suppress-error-messages-at-design-time/34909/1 "2020-05-20T11:38:07Z")

</div>

Hi there,  
I wonder if you can help at all?  
I have created a template screen which has a label on it. The label is picking up its data from a database. I want to pass the database name to the query as a parameter but because this is a template screen the data doesn’t exist until I create an instance of the template in the project. The issue is that because this data doesn’t exist at design time then I am getting lots of errors (every 5 seconds when the SQL script tries to run) saying

“Exception: Named Query returned no rows on component: Service\_Control.Service\_Control.lblStatus.text”

Is there a way of suppressing this error or telling the system to ignore this? The SQL query is a named query.

Thanks in advance.
