![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I remember seeing a tip somewhere years ago on a website for a really simple synonym which found the last multivalue in a multivalued field, it did it straight off without invoking any subroutine. Can someone advise me of the syntax required please. regards John Marshall |
#3
| |||
| |||
|
|
johnmarshall (AT) xtra (DOT) co.nz wrote: Hi I remember seeing a tip somewhere years ago on a website for a really simple synonym which found the last multivalue in a multivalued field, it did it straight off without invoking any subroutine. Can someone advise me of the syntax required please. regards John Marshall Google's good. I found this by googling cdp for "last mv"... http://tinyurl.com/jcszg |
#4
| |||
| |||
|
|
Mike thanks for the link. I'd searched Google on the web for the answer but had not thought of CDP - duh! Anyway, I tried what was recommended and it works great. |
#5
| |||
| |||
|
|
johnmarshall (AT) xtra (DOT) co.nz wrote: Hi I remember seeing a tip somewhere years ago on a website for a really simple synonym which found the last multivalue in a multivalued field, it did it straight off without invoking any subroutine. Can someone advise me of the syntax required please. regards John Marshall Google's good. I found this by googling cdp for "last mv"... http://tinyurl.com/jcszg |
#6
| |||
| |||
|
|
johnmarshall wrote: I remember seeing a tip somewhere years ago on a website for a really simple synonym which found the last multivalue in a multivalued field, it did it straight off without invoking any subroutine. Can someone advise me of the syntax required please. Google's good. I found this by googling cdp for "last mv"... http://tinyurl.com/jcszg |
#7
| |||
| |||
|
|
"Mike Preece" wrote: johnmarshall wrote: I remember seeing a tip somewhere years ago on a website for a really simple synonym which found the last multivalue in a multivalued field, it did it straight off without invoking any subroutine. Can someone advise me of the syntax required please. Google's good. I found this by googling cdp for "last mv"... http://tinyurl.com/jcszg (gotta love tinyurl...) RE: Syntax: f;3r or f;3;p;s;_ or F;{atb};{atb};S;_ This is one of those things that we know works but for my entire career I've avoided asking exactly why it works. I really want to understand what's happening here. Though as Luke suggests I would itch terribly if I ever used it because it's not documented and subject to break in any release on any platform. Can some guru please provide some insight into exactly what makes this syntax tick? I think Henry could write a couple pages on this. Jon, I don't suppose you could prod him to make a guest appearance? Chandru, was this something of yours or Tim's? Thanks! T |
#8
| |||
| |||
|
|
I'm currently on a Linux/Universe 10.1.4 (pick format) system. f;3;p;s;_ on this release returns all of the multivalues. f;3;s;p;_ returns a sum of the numeric data elements (ignoring non-numerics) The results are the same for "3r". Confused ... what versions/systems does this work on? |
#9
| |||
| |||
|
|
(gotta love tinyurl...) RE: Syntax: f;3r or f;3;p;s;_ or F;{atb};{atb};S;_ This is one of those things that we know works but for my entire career I've avoided asking exactly why it works. I really want to understand what's happening here. Though as Luke suggests I would itch terribly if I ever used it because it's not documented and subject to break in any release on any platform. Can some guru please provide some insight into exactly what makes this syntax tick? I think Henry could write a couple pages on this. Jon, I don't suppose you could prod him to make a guest appearance? Chandru, was this something of yours or Tim's? Thanks! T |
![]() |
| Thread Tools | |
| Display Modes | |
| |