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

 Data Display Question

Print topic Send  topic

Author Message
Tim Morrison
Posted: 08/23/2003, 9:50 AM

I have a Grid layout as follows:

Vehicle Name
Stock#: <stock#>
Make: <make>
Model: <model>
etc...

Is there a way to not show a field / field label is there is no data to
show? ie if there is no data in "Make" I do not want that line to show.

I would need to do this using ASP and PHP.

thanks,

Tim Morrison

DonB
Posted: 08/26/2003, 5:52 PM

This is a job for custom template blocks. There is a good writeup on that
in the Help file, although you probably would not find it - it's not obvious
to the uninitiated as to what these are so you likely never browse through
this very interesting area of the Help.

Also check this brief explanation:
http://www.gotodon.com/ccbth/Features/ViewKB.asp?KBID=2008

In a nutshell, you can enclose the <tr> and/or <td> tags with template
"block" markers, which will let you show or hide the "Make" from within the
BeforeShowRow event of the Grid.

--
DonB

http://www.gotodon.com/ccbth


"Tim Morrison" <sales@kjmsoftware.com> wrote in message
news:bi8603$47f$1@news.codecharge.com...
> I have a Grid layout as follows:
>
> Vehicle Name
> Stock#: <stock#>
> Make: <make>
> Model: <model>
> etc...
>
> Is there a way to not show a field / field label is there is no data to
> show? ie if there is no data in "Make" I do not want that line to show.
>
> I would need to do this using ASP and PHP.
>
> thanks,
>
> Tim Morrison
>
>


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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