Is it possible to STORE a record with MU-Fields in a way that the occurence counter represents only the filled values?
DEFINE DATA LOCAL 1 E1 VIEW OF EMP 2 NAME (A10) 2 C*LANG 2 LANG (A1/1:3) END-DEFINE READ ALL RECORDS IN E1 DELETE END-READ E1.NAME := 'Alpha' E1.LANG(1) := 'A' STORE RECORD IN E1 E1.NAME := 'Beta' E1.LANG(1) := 'B' E1.LANG(2) := 'C' STORE RECORD IN E1 READ ALL RECORDS IN E1 WRITE NAME C*LANG END-READ END
Alpha 3 Beta 3
which looks to me as if the occurence counter in the database is set to 3 for both records. I would like to see the ouput
Alpha 1 Beta 2
How can i achieve that? Thanks for any hint to a Natural-newbie.