Knowing AMV Groups when not in a window (AREV Specific)
At 05 MAR 1999 10:32:01AM Dave Bennett wrote:
I need to know per file which multi value fields are in each group.
And I am not in the datafile window.
At 05 MAR 1999 10:42AM Victor Engel wrote:
It used to be that a LISTDICT report would show that associated groups on the type column. S for single values, M for multivalues, Mx.y for associated multivalued fiels, where x is the number of the group and y is the number of the field within the group. However, I think this was discontinued at some point. Someone please correct me if I am wrong. You can list out a screen using the dictionary of SYSWINDOWS like this:
LIST WINDOWS USING SYSWINDOWS LC_AMVGROUP
This displays the prompt labels for each associated group for that screen. Look through the dictionary of SYSWINDOWS for other things like this. You may want to create a new entry to list the field names instead of the prompt labels.
At 07 MAR 1999 02:14AM Curt wrote:
The Mx.y notation went out with Arev
At 09 MAR 1999 08:02PM Warren wrote:
As Curt noted the ARev dictionary items do not contain association information as Revelation or any other Pick based system does. What you can do is create group items in your dictionary such as AMV_1, AMV_2, etc. You can annotate the group item in the comments field of the dictionary items and use this information to trigger any specific logic in your programs.
Prime Information used a similar scheme but the dependent dictionary items still stored the name of the controlling group. E.G. dictionary group (Phrase) item PAYMENT_HIST contains PAY_DATE and PAY_AMOUNT and both the dictionary items PAY_DATE and PAY_AMOUNT refer to PAYMENT_HIST.