CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 null date

Print topic Send  topic

Author Message
shmuelr

Posts: 2
Posted: 09/19/2006, 10:28 AM

I'm trying to have a label in a grid disappear if a date field is empty/null
I tried :

if isempty(directions.datasource.end_time.value) then
directions.est_end_time.value = " Estimated Ending Time is "
end if

also tried

if isnull(directions.datasource.end_time.value) then
directions.est_end_time.value = " Estimated Ending Time is "
end if

none of them worked
please help
View profile  Send private message
Benjamin Krajmalnik
Posted: 09/19/2006, 5:40 PM

Try

if directions.datasource.end_time.value = "" then
'your code goes here
end if

However, I am not sure why you are using such notation.
You can probably accomplish the same using directions.end_time.value if it
is a control on your screen.


"shmuelr" <shmuelr@forum.codecharge> wrote in message
news:6451028dae17fe@news.codecharge.com...
> I'm trying to have a label in a grid disappear if a date field is
> empty/null
> I tried :
>
> if isempty(directions.datasource.end_time.value) then
> directions.est_end_time.value = " Estimated Ending Time is "
> end if
>
> also tried
>
> if isnull(directions.datasource.end_time.value) then
> directions.est_end_time.value = " Estimated Ending Time is "
> end if
>
> none of them worked
> please help
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

shmuelr

Posts: 2
Posted: 09/20/2006, 12:39 AM

it works, thanks a lot.
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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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