zoukankan      html  css  js  c++  java
  • Lookup Field in collect

    ClearCollect(colTest,
        AddColumns
        (
            'Assessment Details',
            "zzTextField",
            assessmentquestionid.'Question Text',
            "GUID1"
            assessmentquestionid.'Assessment Question', /*Get GUID field Name of Assessment Question lookup field*/
            "GUID2",
            ""
        )
    );
    ClearCollect(coltest3,colTest);
    ClearCollect(coltest4,'Assessment Question');
    ForAll(
        coltest4,
        ForAll(
            coltest3,
            If(
                'Assessment Question' = GUID1,
                Patch(
                    colTest,
                    LookUp(
                        colTest,
                        'Assessment Details' = coltest3[@'Assessment Details']
                    ),
                    {
                        GUID2: LookUp(
                            'Assessment Question',
                            'Assessment Question' = coltest4[@'Assessment Question'],
                            'Assessment Section'.'Assessment Section' /* LookUpfied.GUID */
                        )
                    }
                )
            )
        )
    )L
  • 相关阅读:
    HWOJ之纠结的优化
    java中的对象数组
    短路特性的运用
    归并排序
    两个有序数列的合并
    java中的注释规范
    堆排序
    堆的建立
    希尔排序
    直接插入排序
  • 原文地址:https://www.cnblogs.com/lingdanglfw/p/14914968.html
Copyright © 2011-2022 走看看