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
|
|
|
.
|
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)
|
|
|
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
|
|
|
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
|
|
|
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 |
|
|
aradi
Posts: 66
|
Posted: 01/09/2004, 9:24 AM |
|
Thanks feha,
Now it works complete for me
With my best regards
|
|
|