CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Displaying fields contents as table in a form

Print topic Send  topic

Author Message
aradi

Posts: 66
Posted: 01/08/2004, 8:01 AM

Hello All,

I constructed a detailed form to display feilds in a database table . I am trying to show some of the database fields , that are not empty, in a table as part of the form in a specific place or after the my other fields. That means the rows of the table change dynamicaly .

I hope i explained this right.

I know how to do this without CCS. Can some body help me on how to do this


View profile  Send private message
.
Posted: 01/08/2004, 10:40 AM

Please restate with more clarity...
EMG


Posts: 35
Posted: 01/08/2004, 10:43 AM

Please explain a bit more (testing my account pic)
View profile  Send private message
aradi

Posts: 66
Posted: 01/08/2004, 10:58 AM

Ok let me try a gain

some of the database fields that i want to show in a record form are empty. I want a way to only show them when they are not empty. Also l want these fileds to show in the form as a list inside the form


How about that do you understand me know , i hope so

Nice picture

View profile  Send private message
aradi

Posts: 66
Posted: 01/08/2004, 11:48 AM

I found an answer ,not complete, the place of the label field still exist when the value disapears. i need it not to show in the form

is used the following:

if ($homes->dw->Getvalue() <> "1") $homes->dw->Visible = False


View profile  Send private message
feha


Posts: 712
Posted: 01/09/2004, 6:19 AM

instead of
if ($homes->dw->Getvalue() <> "1") $homes->dw->Visible = False

You can use
if ($homes->dw->Getvalue() == "") $homes->dw->Visible = False
The previous will check only if it is not value 1 ...
You have to make even label dwinfo (HTML) instead of text info before fieid
and put ...
if ($homes->dw->Getvalue() == "") {
$homes->dw->Visible = False
$homes->dwinfo->SetValue("");
}

hope this helps

_________________
Regards
feha

www.vision.to
feedpixel.com
View profile  Send private message
aradi

Posts: 66
Posted: 01/09/2004, 9:24 AM

Thanks feha,

Now it works complete for me


With my best regards
View profile  Send private message

Add new topic Subscribe to topic   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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