AX Note

1, The different between Table.Find() and Select * from table statement.

 Table.Find() is used to find a record in exist database. Select statement is used to find a record in exist database and memory.

 If user insert a record to table by using transaction, and the transction is not finished, use the Table.Find() cannot find the insert record before, use Select statement can be find out.

 2, Change text color. Use code below.

  public static void main(Args args)
  {
    Dialog dialog;
    DialogField field;
    Object ft;

    dialog = new Dialog("My Dialog");
    ft = dialog.addText("Select your favorite customer:").control();
    field = dialog.addField("ToDate");
    ft.ColorScheme(2);
    ft.BackgroundColor(WinAPI::RGB2int(240,240,240));
    ft.ForeGroundColor(WinAPI::RGB2int(255,0,0));
    dialog.run();
  }

 

AX Note

上一篇:[python]通过微信公众号“Python程序员”,编写python代码


下一篇:啊Ran讲微信开发(.net) :订阅号+自定义服务器(URL接入,文本消息处理)