In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

QueryRow

Xailer professional forum in English
Responder
Pedro Sousa e Faro
Mensajes: 91
Registrado: Mié May 30, 2007 5:25 pm

QueryRow

Mensaje por Pedro Sousa e Faro »

Hi ,
After upgrading Xailer 1.9 to 2.0.9 i noticed that "ADO.queryRow" in recent
version , in case Not found the expression ,it returns an array with Len =0
.. I earlier version the array returned is NIL.
I must to redefine my code to change the test if arr=NIL to if len(arr)=0 .
Please confirm that this was changed
Best regards
Pedro Faro
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

QueryRow

Mensaje por ignacio »

Pedro,
It was a bug on Xailer 1.9. Since that method on the rest of datasources always returns an array. Sorry for any inconvenience.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Pedro Faro" <psfaro@shi.pt> escribió en el mensaje de noticias:4b7146f7$[email=3@svctag-j7w3v3j....]3@svctag-j7w3v3j....[/email]
> Hi ,
>
> After upgrading Xailer 1.9 to 2.0.9 i noticed that "ADO.queryRow" in recent
> version , in case Not found the expression ,it returns an array with Len =0
> . I earlier version the array returned is NIL.
>
> I must to redefine my code to change the test if arr=NIL to if len(arr)=0 .
>
> Please confirm that this was changed
>
> Best regards
> Pedro Faro
>
>
--
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

QueryRow

Mensaje por ignacio »

Pedro,
It was a bug on Xailer 1.9. Since that method on the rest of datasources always returns an array. Sorry for any inconvenience.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Pedro Faro" <psfaro@shi.pt> escribió en el mensaje de noticias:4b7146f7$[email=3@svctag-j7w3v3j....]3@svctag-j7w3v3j....[/email]
> Hi ,
>
> After upgrading Xailer 1.9 to 2.0.9 i noticed that "ADO.queryRow" in recent
> version , in case Not found the expression ,it returns an array with Len =0
> . I earlier version the array returned is NIL.
>
> I must to redefine my code to change the test if arr=NIL to if len(arr)=0 .
>
> Please confirm that this was changed
>
> Best regards
> Pedro Faro
>
>
--
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder