RE:Count and acces in Sub-fields in Multivalue Fld
- emushaija
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 4
14 years 6 months ago #7514
by emushaija
RE:Count and acces in Sub-fields in Multivalue Fld was created by emushaija
Hello Good People
I want to count number of subfields in Multivalue fields .How is that achievable?
I know counting multivalue field is eg as in the FILE LD.SCHEDULE.DEFINE
DCOUNT(R.SD<LD.AMOUNT>,VM)
Now i want to count Multivalue field CYCLED.DATES which itself has sub-fields.
I will appreciate your support as usual
I want to count number of subfields in Multivalue fields .How is that achievable?
I know counting multivalue field is eg as in the FILE LD.SCHEDULE.DEFINE
DCOUNT(R.SD<LD.AMOUNT>,VM)
Now i want to count Multivalue field CYCLED.DATES which itself has sub-fields.
I will appreciate your support as usual
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
Less
More
- Posts: 2860
- Thank you received: 650
14 years 6 months ago #7534
by jpb
Replied by jpb on topic RE:Count and acces in Sub-fields in Multivalue Fld
e.g.
MAX.VM = DCOUNT(R.SD<LD.SD.CYCLED.DATES>,VM)
FOR Index = 1 TO MAX.VM
DCOUNT(R.SD<LD.SD.CYCLED.DATES,Index>,SM)
...
NEXT Index
MAX.VM = DCOUNT(R.SD<LD.SD.CYCLED.DATES>,VM)
FOR Index = 1 TO MAX.VM
DCOUNT(R.SD<LD.SD.CYCLED.DATES,Index>,SM)
...
NEXT Index
Please Log in or Create an account to join the conversation.
- emushaija
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 57
- Thank you received: 4
14 years 6 months ago #7542
by emushaija
Replied by emushaija on topic Re: RE:Count and acces in Sub-fields in Multivalue Fld
Thanks Jpb
As usual worked fine!
Regards
As usual worked fine!
Regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.033 seconds