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
>
>
|
|
|
|