static void loopFieldsInTable(Args _args)

{

    dictTable dt;

    int numberOfFields;

    int fieldId;

    int i;

    ;

    dt = new dictTable(tableNum(CustTable));

    //name of table

    info(dt.name());

    numberOfFields = dt.fieldCnt();

    info(int2str(numberOfFields));

    for (i = 1; i <= numberOfFields; i++)

    {

      fieldId = dt.fieldCnt2Id(i);

      info(dt.name()+'.'+dt.fieldName(fieldId));

    }

}

相关文章:

  • 2022-02-23
  • 2021-12-19
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
猜你喜欢
  • 2022-12-23
  • 2021-04-02
  • 2022-03-01
  • 2021-05-20
  • 2022-12-23
  • 2021-09-05
  • 2022-02-02
相关资源
相似解决方案