Suppress Error Messages at Design Time

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.