Hi,
i need to get a value of a column in a browse ( i'm using
::oarrayBrowse:getvalue(2))
I i filter the Array (without returning any rows) :
::oarraybrowse:arraydata returns 0
after clearing the filter , but the array is not refreshed ,
::oarraybrowse:arraydata returns 3 , ::oarrayBrowse:getvalue(2) return
error(because there is no rows yet)
This must work (i think)
if len(::oarraybrowse:aarraydata)<>0
msginfo(::oarrayBrowse:getvalue(2)) //returns error.
endif
I think ::oarrayBrowse:getvalue(2) must return NIL when the array is empty
How can we turn around this situation
Best regards
Mario Paiva
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.
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.
arrayBrowse:getvalue
-
- Mensajes: 7
- Registrado: Lun Jun 11, 2007 5:13 pm
arrayBrowse:getvalue
Mário,
Yo lo controlo así:
IF !Empty( ::oArrayBrowse1:aArrayData )
MsgInfo( ::oArrayBrowse1:GetValue( 2 ) )
END IF
Saludos,
Alf+.
Mário Paiva escribió:
> Hi,
>
> i need to get a value of a column in a browse ( i'm using
> ::oarrayBrowse:getvalue(2))
>
> I i filter the Array (without returning any rows) :
>
> ::oarraybrowse:arraydata returns 0
>
> after clearing the filter , but the array is not refreshed ,
> ::oarraybrowse:arraydata returns 3 , ::oarrayBrowse:getvalue(2) return
> error(because there is no rows yet)
>
> This must work (i think)
>
> if len(::oarraybrowse:aarraydata)<>0
> msginfo(::oarrayBrowse:getvalue(2)) //returns error.
> endif
>
> I think ::oarrayBrowse:getvalue(2) must return NIL when the array is empty
>
> How can we turn around this situation
>
> Best regards
> Mario Paiva
>
>
>
Yo lo controlo así:
IF !Empty( ::oArrayBrowse1:aArrayData )
MsgInfo( ::oArrayBrowse1:GetValue( 2 ) )
END IF
Saludos,
Alf+.
Mário Paiva escribió:
> Hi,
>
> i need to get a value of a column in a browse ( i'm using
> ::oarrayBrowse:getvalue(2))
>
> I i filter the Array (without returning any rows) :
>
> ::oarraybrowse:arraydata returns 0
>
> after clearing the filter , but the array is not refreshed ,
> ::oarraybrowse:arraydata returns 3 , ::oarrayBrowse:getvalue(2) return
> error(because there is no rows yet)
>
> This must work (i think)
>
> if len(::oarraybrowse:aarraydata)<>0
> msginfo(::oarrayBrowse:getvalue(2)) //returns error.
> endif
>
> I think ::oarrayBrowse:getvalue(2) must return NIL when the array is empty
>
> How can we turn around this situation
>
> Best regards
> Mario Paiva
>
>
>
- ignacio
- Site Admin
- Mensajes: 9253
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
arrayBrowse:getvalue
Mario,
Fixed. Thanks. It will be available on next release.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Mário Paiva" <mario.paiva@shi.pt> escribió en el mensaje
news:4873abd1$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi,
>
> i need to get a value of a column in a browse ( i'm using
> ::oarrayBrowse:getvalue(2))
>
> I i filter the Array (without returning any rows) :
>
> ::oarraybrowse:arraydata returns 0
>
> after clearing the filter , but the array is not refreshed ,
> ::oarraybrowse:arraydata returns 3 , ::oarrayBrowse:getvalue(2) return
> error(because there is no rows yet)
>
> This must work (i think)
>
> if len(::oarraybrowse:aarraydata)<>0
> msginfo(::oarrayBrowse:getvalue(2)) //returns error.
> endif
>
> I think ::oarrayBrowse:getvalue(2) must return NIL when the array is empty
>
> How can we turn around this situation
>
> Best regards
> Mario Paiva
>
>
>
Fixed. Thanks. It will be available on next release.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Mário Paiva" <mario.paiva@shi.pt> escribió en el mensaje
news:4873abd1$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi,
>
> i need to get a value of a column in a browse ( i'm using
> ::oarrayBrowse:getvalue(2))
>
> I i filter the Array (without returning any rows) :
>
> ::oarraybrowse:arraydata returns 0
>
> after clearing the filter , but the array is not refreshed ,
> ::oarraybrowse:arraydata returns 3 , ::oarrayBrowse:getvalue(2) return
> error(because there is no rows yet)
>
> This must work (i think)
>
> if len(::oarraybrowse:aarraydata)<>0
> msginfo(::oarrayBrowse:getvalue(2)) //returns error.
> endif
>
> I think ::oarrayBrowse:getvalue(2) must return NIL when the array is empty
>
> How can we turn around this situation
>
> Best regards
> Mario Paiva
>
>
>