![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible to use the L processing code on a multi-valued field to get the length of each value? If so, how? |
#3
| |||
| |||
|
|
"ddspell-m3" <ddspell (AT) yahoo (DOT) com> wrote in message news:1159887195.927312.162910 (AT) e3g2000cwe (DOT) googlegroups.com Is it possible to use the L processing code on a multi-valued field to get the length of each value? If so, how? Not sure what flavour you're using, but on D3, the following will work in the attribute 8 of the relevant dictionary: F{mv#}]L0 Where {mv#} should be replaced with your multi-valued attribute number and the square bracket is actually a value mark. HTH With Kindest Regards Mike Wooding |
#4
| |||
| |||
|
|
Mike's solution works just fine - and in Universe (using Mike's notation) this also does the trick (without the value mark): F;(mv#);(L0) - example: F;5;(L0) where attribute 5 has is the multi-valued data. |
#5
| |||
| |||
|
|
I think you can just use the "L" correlative by itself- it does not need to be wrapped in an "F" correlative. And I don't think you need the zero either, i.e. just put "L" in attribute 8 of a (pick type) dict item, reference the field you want the length of in attribute 2, and that's it. Works the same for single or multi-value fields in both D3 and Universe. |
![]() |
| Thread Tools | |
| Display Modes | |
| |