Ask a Question related to Dreamweaver AppDev, Design and Development.
-
-
WDDX and NULL values
I am currently working on a project to upgrade from our ColdFusion server from CF 5.0 to CF MX 7. I've started testing our existing applications... -
Please HELP! Problem with NULL values...
Hey everyone! I'm developing an asp/VBScrpti/Access web site and I'm having a little trouble with the record sets SQL. The site's deadline is... -
Detecting Null Values
I have a DataGrid from which the datasource is a SqlDataReader based on a SQL Server Stored Procedure. This SP returns columns will NULL values. ... -
Null values enter to SQL
Hi, I have datagrid filled using SqlDataAdapter. One of the fields is a date field which can be null. When I assign null value I receive the... -
Joining on Null values
Hello everyone Have a problem that I need help with I have a table Codes which looks like: ID, Code, modifier Any code can have multiple... -
Bogdan Stancescu #2
Re: null values
<?
function countNulls($array)
{
if (!is_array($array)) {
return(NULL);
}
reset($array);
$count=0;
while(list(,$val)=each($array)) {
if ($val===NULL) {
$count++;
}
}
return($count);
}
?>
Aris Santillan wrote:
> hi
>
> how to count null values in an array?
>
> tnx
>Bogdan Stancescu Guest
-
acidrain9 #3
Null Values
Does Anyone know how to exclude a field from a page if its value is null?
this is what i have
a VB detail page and right now it just shows nothing next to all values that
have no values. what i want to do is completly remove all values and labels of
items where the values don't contain anything.
any help would be appreciated.
acidrain9 Guest
-
Manuel Socarras #4
Re: Null Values
filter the table excluding null values. try this:
SELECT ... WHERE Not IsNull(FIELDX)
HTH,
manuel
acidrain9 wrote:> Does Anyone know how to exclude a field from a page if its value is null?
>
> this is what i have
>
> a VB detail page and right now it just shows nothing next to all values that
> have no values. what i want to do is completly remove all values and labels of
> items where the values don't contain anything.
>
> any help would be appreciated.
>
>
>IsNull(MyVar)Manuel Socarras Guest
-
acidrain9 #5
Re: Null Values
that didn't work, thanks though
i have added the dynamic fields to the right column of a 2 column table
the left column holds the label for the dynamic field.
what i need to do is only show the lable and column of fields that have values.
acidrain9 Guest
-
Manuel Socarras #6
Re: Null Values
when i said "table" i was refering to the DB, not HTML table. if you
post the code we can take a look
acidrain9 wrote:> that didn't work, thanks though
>
> i have added the dynamic fields to the right column of a 2 column table
> the left column holds the label for the dynamic field.
>
> what i need to do is only show the lable and column of fields that have values.
>Manuel Socarras Guest



Reply With Quote

