Página 1 de 1
arrayBrowse:getvalue
Publicado: Mar Jul 08, 2008 8:02 pm
por mario.paiva
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
arrayBrowse:getvalue
Publicado: Mar Jul 08, 2008 8:12 pm
por jasm
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
>
>
>
arrayBrowse:getvalue
Publicado: Mar Jul 08, 2008 8:29 pm
por ignacio
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
>
>
>