web datablade 4.0 ... some problems
Posted in 2000
Topics: Installation, Setup & Upgrades
Hi all, in my new IIF2000 installation I've done a web.3.32.UCx to web.4.00.UC1 porting of old web applications. In few days my old testing application runs on IIF2000, great! BUT... The following portion of code has a strange behaviour now: <?MISQL SQL="SELECT image FORM images WHERE ProdID = $idProd ;"> $(IF,$(NE,$1,NULL), <img src=$WEB_HOME?LO=$1> , no image ) <?/MISQL> The condition $(NE,$1,NULL) returns always 0 ( false ) ! The work-around maybe: 1- <?MISQL SQL="SELECT image FORM images WHERE ProdID = $idProd ;"> $(SETVAR,img,$1) $(IF,$(NE,$img,NULL), <img src=$WEB_HOME?LO=$1> , no image ) <?/MISQL> OR 2- <?MISQL SQL="SELECT image FORM images WHERE ProdID = $idProd ;"> $(IF,$(NE,$(EVAL,$1),NULL), <img src=$WEB_HOME?LO=$1> , no image ) <?/MISQL> Now work correctly. Well, but I can't edit all my wbpages... otherwise the original code MUST work correctly according to reference rules. ( at page 8-14 of Application Developer's Guide ( version 4.0 ) you can see an example like my one ) Does someone see this problem before? Thanks in advance for any help.