
My spreadsheet will allow up to 4 messages. Each message can have a Title, 3 lines of 30 char text, a start and expire date, as well as allow the user to select the color of the layout. See below:

I layed out the elements on the page, including the background image, as database elements and used the following SELECT statement:
SELECT * FROM [Messages$] where "ExpireDate"-Date() > 0 and "StartDate"-Date() < 0
The images for the layout are all named layout-[1:5].jpg where the [1:5] is fed from the spreadsheet depending on which color they choose from a bounce bar list. (layout-pink.jpg, layout-blue.jpg, etc.)
Everything works great !
BUT, I wanted a fall-back full screen image in case all messages had expired - in other words, when the SELECT returns nothing. A little corporate eye-candy, so a blank screen wasn't displayed. I have that image full screen and defined it as /......./employee-brand[1:5].jpg. When the SELECT statement returns rows, this image fails and displays nothing - perfect. But I expected when the SELECT statement returns nothing, for the image to display because the [1:5] would be null - employee-brand.jpg. It doesn't.
Any ideas on how to make this last step work? I'm close but no cigar.