-----Original Message-----
Is there any way of displaying database values as a
graphic? I have a form which comprises 60 checkboxes, so
I would like to display results where true=check and
false=cross, rather than displaying the words 'true'
and 'false'.
This would be difficult. To do this in the Database
Results Wizard, you would need to write a query that
returned the HTML you want for each column, rather than
just a value. For example:
SELECT '<img src="images/' & IiF([box01],'check','cross')
& '.gif">' AS image01, ...
and then report the image01 field, setting the Database
Column Value component in the finished results region to
Column Value Contains HTML.
However, I suspect this wouldn't be workable for sixty
such fields. The SQL statement would get too long for the
DRW to handle. As a result, you would probably need to
write your own custom ASP or ASP.NET code.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------