CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Graphic for variable

Print topic Send  topic

Author Message
Sven Kochel
Posted: 08/27/2003, 5:34 PM

hi@all

i have follow problem.
I use in a database some integer values. now i will change
the value in the grid to a graphic instead the value 1 or 2 or 3 or else.

i will display in the grid a graphic r1.gif or r2.gif.

value 1 shall be visible in the grid also r1.gif (and so on).
i have seen the help file for text colors red to blue or else. but nothing will
work by my examples. please can anybody tell me, how the way is for this ???

regards
Sid61
RonB
Posted: 08/28/2003, 4:59 AM

If the naming of the images is as consistent as you seem to imply you could do a before show event on the label and add the following code:

global $gridname

$gridname->labelname->setvalue("<img scr='r" .$gridname->labelname->value .".gif'>");

remember to set the label to html

Ron

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.