M
Marcel Preda
Guest
Hi there,
I have a string which represents an object Id.
E.g. myVar = "db:0x5eb50da6"
How can I acces something like dbId(myVar)->myProperty ?
The background:
I have a report field form, and in one column I have to make a
reference to some shapes.
When user clicks on a row I want to highlight the associated shape.
The problem with the report field is that I can use as types only
integers, floats or strings - no something like dbId is allowed.
So I decide to put there the dbIds as strings in a column of the field
report.
Of course I can build a global hash with the dbIds as keys and the
associated object as value,
but I already have some global vars and I don't like it too much, I
would like to avoid creation of a new global var.
Thank you,
Marcel
I have a string which represents an object Id.
E.g. myVar = "db:0x5eb50da6"
How can I acces something like dbId(myVar)->myProperty ?
The background:
I have a report field form, and in one column I have to make a
reference to some shapes.
When user clicks on a row I want to highlight the associated shape.
The problem with the report field is that I can use as types only
integers, floats or strings - no something like dbId is allowed.
So I decide to put there the dbIds as strings in a column of the field
report.
Of course I can build a global hash with the dbIds as keys and the
associated object as value,
but I already have some global vars and I don't like it too much, I
would like to avoid creation of a new global var.
Thank you,
Marcel