If the "empty" values are truly null, then check for null instead of checking 
the length. E.G

if($featureReader->IsNull('BILLING_ADD')){ 
        $billing_address = " "; 
        }


-----Original Message-----
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kratz
Sent: Thursday, November 12, 2009 11:11 AM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] Need help with IF-statment in Tool Tip


I cant understand how this If-statement works.... 

I thought the [condition] was integer based. ex Length(BYGGINV_1)>0 
But obviously not... 

Could someone help explain how this If-statement work or better up how I can
find out whether the atribute contains any text (string) or not! 

Ex of how my table looks like:
http://n2.nabble.com/file/n3993782/Tabel.bmp 
-- 
View this message in context: 
http://n2.nabble.com/Need-help-with-IF-statment-in-Tool-Tip-tp3985605p3993782.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to