CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Display image instead of grid content

Print topic Send  topic

Author Message
birdie185
Posted: 07/18/2002, 7:50 AM

i have grid content that based on the current menu level that is visible or
hidden



if ($current_menu==1 ){

{

$content_menu_two->Visible = False;

}

if ( $current_record==2 && $current_menu==1)

$content_menu_two->Visible = True;

}



with my grid name = $content_menu_two

and my data source = "content, menu" (basically a query so it does not have
ONE name!)



what i am trying do is instead of having the menu set to false as below



$content_menu_two->Visible = False;



i want the grid form to display a picture.



i have tried things like the following but to no avail (where the link is
"name")



$Value ="images/PlaceHolder.jpg";

$content_menu_two->name->SetLink($Value);



or



$Value ="images/PlaceHolder.jpg";

$content_menu_two->name->SetValue($Value);



i don't no what to call my data source??

is there a way to get the data source name when the IDE displays it as
"content, menu"



Thanks fo r any input


Simon Chee
Posted: 07/18/2002, 8:00 AM

I think you need to create the html for an image and change the content type
to be html.

$Value ="<img src="images/PlaceHolder.jpg">;

The the field you use $Value in should have it's content type set to html in
the designer.



"birdie185" <birdie185@home.com> wrote in message
news:ah6kjf$k7g$1@news.codecharge.com...
> i have grid content that based on the current menu level that is visible
or
> hidden
>
>
>
> if ($current_menu==1 ){
>
> {
>
> $content_menu_two->Visible = False;
>
> }
>
> if ( $current_record==2 && $current_menu==1)
>
> $content_menu_two->Visible = True;
>
> }
>
>
>
> with my grid name = $content_menu_two
>
> and my data source = "content, menu" (basically a query so it does not
have
> ONE name!)
>
>
>
> what i am trying do is instead of having the menu set to false as below
>
>
>
> $content_menu_two->Visible = False;
>
>
>
> i want the grid form to display a picture.
>
>
>
> i have tried things like the following but to no avail (where the link is
> "name")
>
>
>
> $Value ="images/PlaceHolder.jpg";
>
> $content_menu_two->name->SetLink($Value);
>
>
>
> or
>
>
>
> $Value ="images/PlaceHolder.jpg";
>
> $content_menu_two->name->SetValue($Value);
>
>
>
> i don't no what to call my data source??
>
> is there a way to get the data source name when the IDE displays it as
> "content, menu"
>
>
>
> Thanks fo r any input
>
>
>


   


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.