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